Index: gm/image.cpp |
diff --git a/gm/image.cpp b/gm/image.cpp |
index 7ecb604ea604bcc21b127fb44b089e2f9975f7fb..bd7911a6f88f70221c0e38a75628f5e5ca675baf 100644 |
--- a/gm/image.cpp |
+++ b/gm/image.cpp |
@@ -13,6 +13,7 @@ |
#if SK_SUPPORT_GPU |
#include "GrContext.h" |
+#include "GrUtils.h" |
#endif |
static SkData* fileToData(const char path[]) { |
@@ -186,7 +187,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 = GrUtils::GetGr(canvas); |
SkAutoTUnref<SkSurface> surf4(SkSurface::NewRenderTarget(ctx, info, 0)); |
#endif |