Index: gm/bleed.cpp |
diff --git a/gm/bleed.cpp b/gm/bleed.cpp |
index 7b2f9f89b8f203930815a462bab81209ac3e3d97..8b7d2e27f2913d5cc13438be984111e6771cfb4d 100644 |
--- a/gm/bleed.cpp |
+++ b/gm/bleed.cpp |
@@ -201,7 +201,7 @@ protected: |
this->drawCase4(canvas, kCol2X, kRow3Y, SkCanvas::kNone_DrawBitmapRectFlag, SkPaint::kHigh_FilterLevel); |
#if SK_SUPPORT_GPU |
- GrContext* ctx = GM::GetGr(canvas); |
+ GrContext* ctx = canvas->getGrContext(); |
int oldMaxTextureSize = 0; |
if (NULL != ctx) { |
// shrink the max texture size so all our textures can be reasonably sized |