Index: src/image/SkSurface.cpp |
diff --git a/src/image/SkSurface.cpp b/src/image/SkSurface.cpp |
index a99997306be1b2c36557f2d06a241f78762b171f..dea9f509e8db704f6db945569dc15a2ae91ca174 100644 |
--- a/src/image/SkSurface.cpp |
+++ b/src/image/SkSurface.cpp |
@@ -175,6 +175,10 @@ bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t d |
return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); |
} |
+GrBackendObject SkSurface::getTextureHandle(ContentChangeMode mode) { |
+ return asSB(this)->onGetTextureHandle(mode); |
+} |
+ |
////////////////////////////////////////////////////////////////////////////////////// |
#if !SK_SUPPORT_GPU |