Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 5a67c84caf663cc16cc41f62ccff98cce68201fb..4315ad7e87fcd56245c8458415f0d11223723d0d 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -158,7 +158,7 @@ SkImage* SkImage::newImage(int newWidth, int newHeight, const SkIRect* subset, |
#if SK_SUPPORT_GPU |
GrTexture* SkImage::getTexture() const { |
- return as_IB(this)->getTexture(); |
+ return as_IB(this)->peekTexture(); |
} |
bool SkImage::isTextureBacked() const { return SkToBool(as_IB(this)->getTexture()); } |