Index: gm/shadows.cpp |
diff --git a/gm/shadows.cpp b/gm/shadows.cpp |
index 3ecbdd833fce45062d43082dcd7214bbcc7429d6..89ef5a8bfc3e90a3ab9f3c7b782bdfea965aa24b 100644 |
--- a/gm/shadows.cpp |
+++ b/gm/shadows.cpp |
@@ -28,14 +28,14 @@ public: |
SkPath fCirclePath; |
SkRect fRect; |
- ShadowsGM() { |
+protected: |
+ virtual void onceBeforeDraw() { |
this->setBGColor(0xFFDDDDDD); |
fCirclePath.addCircle(SkIntToScalar(20), SkIntToScalar(20), SkIntToScalar(10) ); |
fRect.set(SkIntToScalar(10), SkIntToScalar(10), |
SkIntToScalar(30), SkIntToScalar(30)); |
} |
-protected: |
virtual SkString onShortName() { |
return SkString("shadows"); |
} |