From 55812362f1df3c1f7341f687d5bab0adab8ac954 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Wed, 10 Jun 2015 08:49:28 -0700 Subject: Towards removing getTexture() on SkImage Review URL: https://codereview.chromium.org/1166993002 --- src/gpu/SkGpuDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu') 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; -- cgit v1.2.3