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
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp
index 0394056..748c4bc 100644
--- a/samplecode/SampleAll.cpp
+++ b/samplecode/SampleAll.cpp
@@ -257,7 +257,7 @@
         }
     }
     
-    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 ff660f2..fd3ed2a 100644
--- a/samplecode/SampleCode.h
+++ b/samplecode/SampleCode.h
@@ -20,7 +20,7 @@
 
 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 f64e187..cd18006 100644
--- a/samplecode/SampleTextEffects.cpp
+++ b/samplecode/SampleTextEffects.cpp
@@ -245,7 +245,7 @@
         }
     }
     
-    Line2DPathEffect::Line2DPathEffect(SkFlattenableReadBuffer& buffer) : Sk2DPathEffect(buffer)
+    Line2DPathEffect(SkFlattenableReadBuffer& buffer) : Sk2DPathEffect(buffer)
     {
         fWidth = buffer.readScalar();
     }