Index: gm/bleed.cpp |
diff --git a/gm/bleed.cpp b/gm/bleed.cpp |
index 2b2d8497cfd48fef600c7104849e3032c80281eb..1d1b37ebec785ff314dd2e79f090e2ec0a51b56e 100644 |
--- a/gm/bleed.cpp |
+++ b/gm/bleed.cpp |
@@ -12,10 +12,6 @@ |
#if SK_SUPPORT_GPU |
#include "GrContext.h" |
- |
-namespace skiagm { |
-extern GrContext* GetGr(); |
-}; |
#endif |
// Create a black&white checked texture with a 1-pixel red ring |
@@ -175,7 +171,7 @@ protected: |
#if SK_SUPPORT_GPU |
- GrContext* ctx = skiagm::GetGr(); |
+ GrContext* ctx = this->getGr(); |
int oldMaxTextureSize = 0; |
if (NULL != ctx) { |
// shrink the max texture size so all our textures can be reasonably sized |