aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-06-10 08:49:28 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-10 08:49:28 -0700
commit55812362f1df3c1f7341f687d5bab0adab8ac954 (patch)
tree3cc8a647e95b65d4f0c72435e567b9656fa4b45e /src/gpu
parent519580553ab85ef04c6a08d8e09ef0eb93c7bc1f (diff)
Towards removing getTexture() on SkImage
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/SkGpuDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index edb887c943..6db5c1db0d 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -1474,7 +1474,7 @@ bool SkGpuDevice::filterImage(const SkImageFilter* filter, const SkBitmap& src,
}
static bool wrap_as_bm(const SkImage* image, SkBitmap* bm) {
- GrTexture* tex = image->getTexture();
+ GrTexture* tex = as_IB(image)->getTexture();
if (tex) {
GrWrapTextureInBitmap(tex, image->width(), image->height(), image->isOpaque(), bm);
return true;