Index: gm/texdata.cpp |
diff --git a/gm/texdata.cpp b/gm/texdata.cpp |
index d2e5d05b485d4b66a2ef283d5498d55469b12793..94e48476e2dfb9ab4c4f7aad6670f89c3840f874 100644 |
--- a/gm/texdata.cpp |
+++ b/gm/texdata.cpp |
@@ -12,6 +12,7 @@ |
#if SK_SUPPORT_GPU |
#include "GrContext.h" |
+#include "GrUtils.h" |
#include "effects/GrSimpleTextureEffect.h" |
#include "SkColorPriv.h" |
#include "SkDevice.h" |
@@ -40,7 +41,7 @@ protected: |
virtual void onDraw(SkCanvas* canvas) { |
SkBaseDevice* device = canvas->getTopDevice(); |
GrRenderTarget* target = device->accessRenderTarget(); |
- GrContext* ctx = GM::GetGr(canvas); |
+ GrContext* ctx = GrUtils::GetGr(canvas); |
if (ctx && target) { |
SkAutoTArray<SkPMColor> gTextureData((2 * S) * (2 * S)); |
static const int stride = 2 * S; |