Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index d5fe18217f1cb328ded8c824cbe5d59e01c8191c..127646d0d7ce815ec8ce3209178ec74cdd353db8 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -642,19 +642,6 @@ SkScalar SampleCode::GetAnimSinScalar(SkScalar amplitude, |
return SkScalarMul(amplitude, SkDoubleToScalar(sin(t))) + amplitude; |
} |
-GrContext* SampleCode::GetGr() { |
- return gSampleWindow ? gSampleWindow->getGrContext() : NULL; |
-} |
- |
-// some GMs rely on having a skiagm::GetGr function defined |
-namespace skiagm { |
- // FIXME: this should be moved into a header |
- GrContext* GetGr(); |
- GrContext* GetGr() { return SampleCode::GetGr(); } |
-} |
- |
-////////////////////////////////////////////////////////////////////////////// |
- |
enum TilingMode { |
kNo_Tiling, |
kAbs_128x128_Tiling, |