aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/bleed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/bleed.cpp')
-rw-r--r--gm/bleed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/bleed.cpp b/gm/bleed.cpp
index 7b2f9f89b8..8b7d2e27f2 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