| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index edb887c943786ddceea0cc1311ed6177ae97e69d..6db5c1db0d22bb64cedfabbb740dbb0a8f7b7276 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;
|
|
|