Index: src/image/SkSurface.cpp |
diff --git a/src/image/SkSurface.cpp b/src/image/SkSurface.cpp |
index 35409be8105f15f7be0d1d2e97152d139ebad4af..2e8c7fa87ebe280a72547d24b12201630b41eec3 100644 |
--- a/src/image/SkSurface.cpp |
+++ b/src/image/SkSurface.cpp |
@@ -175,10 +175,14 @@ bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t d |
return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); |
} |
-GrBackendObject SkSurface::getTextureHandle(TextureHandleAccess access) { |
+GrBackendObject SkSurface::getTextureHandle(BackendHandleAccess access) { |
return asSB(this)->onGetTextureHandle(access); |
} |
+bool SkSurface::getRenderTargetHandle(GrBackendObject* obj, BackendHandleAccess access) { |
+ return asSB(this)->onGetRenderTargetHandle(obj, access); |
+} |
+ |
////////////////////////////////////////////////////////////////////////////////////// |
#if !SK_SUPPORT_GPU |