Index: samplecode/SampleStrokePath.cpp |
diff --git a/samplecode/SampleStrokePath.cpp b/samplecode/SampleStrokePath.cpp |
index 4f6e3cc743579c26a30b4ba0d1a23902d474faab..00e5821937bb2f010eb956190e2de66e0a239d4d 100644 |
--- a/samplecode/SampleStrokePath.cpp |
+++ b/samplecode/SampleStrokePath.cpp |
@@ -98,8 +98,8 @@ static const struct { |
class StrokePathView : public SampleView { |
SkScalar fWidth; |
SkPath fPath; |
-public: |
- StrokePathView() { |
+protected: |
+ void onOnceBeforeDraw() SK_OVERRIDE { |
// test_blur(); |
fWidth = SkIntToScalar(120); |
@@ -122,7 +122,6 @@ public: |
this->setBGColor(0xFFDDDDDD); |
} |
-protected: |
// overrides from SkEventSink |
bool onQuery(SkEvent* evt) SK_OVERRIDE { |
if (SampleCode::TitleQ(*evt)) { |