Index: src/image/SkSurface_Gpu.cpp |
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp |
index 2d5645b2b016d734b2c170881b8e7b276182d6ba..b5c79cfb3cae1c5150e0eb6f60733327082ff46c 100644 |
--- a/src/image/SkSurface_Gpu.cpp |
+++ b/src/image/SkSurface_Gpu.cpp |
@@ -106,7 +106,7 @@ void SkSurface_Gpu::onCopyOnWrite(ContentChangeMode mode) { |
} |
void SkSurface_Gpu::onDiscard() { |
- fDevice->accessRenderTarget()->discard(); |
+ fDevice->discard37(); |
} |
/////////////////////////////////////////////////////////////////////////////// |