diff options
author | 2009-06-11 12:26:47 +0000 | |
---|---|---|
committer | 2009-06-11 12:26:47 +0000 | |
commit | 1220e1c28a6fb75817eec056fc307190d50ae8e6 (patch) | |
tree | 2ec1fb398375506a4e14b360cd5461415ab68127 /samplecode | |
parent | 00dae86f5872b60927b28a32b375bc01cd7c61c9 (diff) |
Some Linux / 64-bit compile fixes.
Review URL: http://codereview.appspot.com/63189
git-svn-id: http://skia.googlecode.com/svn/trunk@209 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode')
-rw-r--r-- | samplecode/SampleAll.cpp | 2 | ||||
-rw-r--r-- | samplecode/SampleCode.h | 2 | ||||
-rw-r--r-- | samplecode/SampleTextEffects.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp index 03940566c0..748c4bccc4 100644 --- a/samplecode/SampleAll.cpp +++ b/samplecode/SampleAll.cpp @@ -257,7 +257,7 @@ protected: } } - Line2DPathEffect::Line2DPathEffect(SkFlattenableReadBuffer& buffer) : Sk2DPathEffect(buffer) + Line2DPathEffect(SkFlattenableReadBuffer& buffer) : Sk2DPathEffect(buffer) { fWidth = buffer.readScalar(); } diff --git a/samplecode/SampleCode.h b/samplecode/SampleCode.h index ff660f220c..fd3ed2adc9 100644 --- a/samplecode/SampleCode.h +++ b/samplecode/SampleCode.h @@ -20,7 +20,7 @@ typedef SkView* (*SkViewFactory)(); class SkViewRegister : SkNoncopyable { public: - SkViewRegister(SkViewFactory); + explicit SkViewRegister(SkViewFactory); static const SkViewRegister* Head() { return gHead; } diff --git a/samplecode/SampleTextEffects.cpp b/samplecode/SampleTextEffects.cpp index f64e18755d..cd18006d97 100644 --- a/samplecode/SampleTextEffects.cpp +++ b/samplecode/SampleTextEffects.cpp @@ -245,7 +245,7 @@ protected: } } - Line2DPathEffect::Line2DPathEffect(SkFlattenableReadBuffer& buffer) : Sk2DPathEffect(buffer) + Line2DPathEffect(SkFlattenableReadBuffer& buffer) : Sk2DPathEffect(buffer) { fWidth = buffer.readScalar(); } |