| Index: gm/image.cpp
|
| diff --git a/gm/image.cpp b/gm/image.cpp
|
| index 7ecb604ea604bcc21b127fb44b089e2f9975f7fb..93e16b718c4e73ff34fedb41659319223c911130 100644
|
| --- a/gm/image.cpp
|
| +++ b/gm/image.cpp
|
| @@ -186,7 +186,7 @@ protected:
|
| SkAutoTUnref<SkSurface> surf2(SkSurface::NewPicture(info.fWidth, info.fHeight));
|
| SkAutoTUnref<SkSurface> surf3(SkSurface::NewPicture(info.fWidth, info.fHeight));
|
| #if SK_SUPPORT_GPU
|
| - GrContext* ctx = GM::GetGr(canvas);
|
| + GrContext* ctx = canvas->getGrContext();
|
|
|
| SkAutoTUnref<SkSurface> surf4(SkSurface::NewRenderTarget(ctx, info, 0));
|
| #endif
|
|
|