aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkImage_Base.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-06-23 14:09:30 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-26 15:29:18 +0000
commit8744405448b9402e1368aebd321c4f555543301a (patch)
treeb5df1fbe70897eca74072f9c5b9920977c817d36 /src/image/SkImage_Base.h
parent6945c946ea800b7bff31920914a990c88a706718 (diff)
Remove SkImage_Base::peekTexture call
Change-Id: Ie5b6bec8df083e0a128aa234d80f5a214cd98f0d Reviewed-on: https://skia-review.googlesource.com/20741 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/image/SkImage_Base.h')
-rw-r--r--src/image/SkImage_Base.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h
index 9604dc6b31..650041870c 100644
--- a/src/image/SkImage_Base.h
+++ b/src/image/SkImage_Base.h
@@ -44,8 +44,7 @@ public:
virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
int srcX, int srcY, CachingHint) const = 0;
- // MDB TODO: this entry point needs to go away
- virtual GrTexture* peekTexture() const { return nullptr; }
+ virtual GrContext* context() const { return nullptr; }
#if SK_SUPPORT_GPU
virtual GrTextureProxy* peekProxy() const { return nullptr; }
virtual sk_sp<GrTextureProxy> asTextureProxyRef() const { return nullptr; }