diff options
author | 2015-06-10 08:49:28 -0700 | |
---|---|---|
committer | 2015-06-10 08:49:28 -0700 | |
commit | 55812362f1df3c1f7341f687d5bab0adab8ac954 (patch) | |
tree | 3cc8a647e95b65d4f0c72435e567b9656fa4b45e /src/gpu | |
parent | 519580553ab85ef04c6a08d8e09ef0eb93c7bc1f (diff) |
Towards removing getTexture() on SkImage
Review URL: https://codereview.chromium.org/1166993002
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 2 |
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; |