Index: gm/shadows.cpp |
diff --git a/gm/shadows.cpp b/gm/shadows.cpp |
index 3ecbdd833fce45062d43082dcd7214bbcc7429d6..66ad32e089e8ca06b370dbc66a844c0fd4ecdcdf 100644 |
--- a/gm/shadows.cpp |
+++ b/gm/shadows.cpp |
@@ -28,14 +28,14 @@ public: |
SkPath fCirclePath; |
SkRect fRect; |
- ShadowsGM() { |
+protected: |
+ void onOnceBeforeDraw() SK_OVERRIDE { |
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"); |
} |