Index: gm/bleed.cpp |
diff --git a/gm/bleed.cpp b/gm/bleed.cpp |
index 2b2d8497cfd48fef600c7104849e3032c80281eb..dc7e96fbb122716c76d397de1cf5d59eda399354 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 = GM::GetGr(canvas); |
int oldMaxTextureSize = 0; |
if (NULL != ctx) { |
// shrink the max texture size so all our textures can be reasonably sized |