diff options
author | Greg Daniel <egdaniel@google.com> | 2018-04-12 13:24:58 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-12 19:41:10 +0000 |
commit | c828109ebd1519134b1c3fa168519ac07a31fe05 (patch) | |
tree | 4723fabd487c88b28300c9f17bc45e2396ad3fd4 /src/image/SkSurface.cpp | |
parent | 632de605a37588db8a0b2eab901540c1b6300b0a (diff) |
Delete getRenderTargetHandle call on SkSurface.
All clients and internal code should be switched (once changes land soon)
to the new getBackendRenderTarget call instead.
Bug: skia:
Change-Id: I6f490b6d26a72f37f97216be04e541483206510d
Reviewed-on: https://skia-review.googlesource.com/121103
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/image/SkSurface.cpp')
-rw-r--r-- | src/image/SkSurface.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/image/SkSurface.cpp b/src/image/SkSurface.cpp index 73f3175ab9..f779d2d3d3 100644 --- a/src/image/SkSurface.cpp +++ b/src/image/SkSurface.cpp @@ -222,10 +222,6 @@ void SkSurface::writePixels(const SkBitmap& src, int x, int y) { GrBackendObject SkSurface::getTextureHandle(BackendHandleAccess access) { return asSB(this)->onGetTextureHandle(access); } - -bool SkSurface::getRenderTargetHandle(GrBackendObject* obj, BackendHandleAccess access) { - return asSB(this)->onGetRenderTargetHandle(obj, access); -} #endif GrBackendTexture SkSurface::getBackendTexture(BackendHandleAccess access) { |