Index: gm/imagefromyuvtextures.cpp |
diff --git a/gm/imagefromyuvtextures.cpp b/gm/imagefromyuvtextures.cpp |
index 28d2cf84c56bd74d989d3ac7174d7fc88f69ef7d..c53df295cd0c6ba843347de382fbea49758524b2 100644 |
--- a/gm/imagefromyuvtextures.cpp |
+++ b/gm/imagefromyuvtextures.cpp |
@@ -94,7 +94,7 @@ protected: |
} |
void createYUVTextures(GrContext* context, GrBackendObject yuvHandles[3]) { |
- const GrGpu* gpu = context->getGpu(); |
+ GrGpu* gpu = context->getGpu(); |
if (!gpu) { |
return; |
} |
@@ -111,7 +111,7 @@ protected: |
void deleteYUVTextures(GrContext* context, const GrBackendObject yuvHandles[3]) { |
- const GrGpu* gpu = context->getGpu(); |
+ GrGpu* gpu = context->getGpu(); |
if (!gpu) { |
return; |
} |