Index: gm/strokes.cpp |
diff --git a/gm/strokes.cpp b/gm/strokes.cpp |
index af01b9169e68655df8abe10131033ca22d1c8caf..cadd0d6d9e692cdf2f155aecc1f166011a490bf2 100644 |
--- a/gm/strokes.cpp |
+++ b/gm/strokes.cpp |
@@ -80,8 +80,8 @@ private: |
class Strokes2GM : public skiagm::GM { |
SkPath fPath; |
-public: |
- Strokes2GM() { |
+protected: |
+ void onOnceBeforeDraw() SK_OVERRIDE { |
SkRandom rand; |
fPath.moveTo(0, 0); |
for (int i = 0; i < 13; i++) { |
@@ -91,7 +91,6 @@ public: |
} |
} |
-protected: |
SkString onShortName() SK_OVERRIDE { |
return SkString("strokes_poly"); |