Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 5521b6e305fddf0cc54663f82df30ff712c12aab..674a73574332c5530b0bfff2da5e8f4303aede5f 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -169,10 +169,10 @@ GrTexture* SkImage::getTexture() const { |
return as_IB(this)->peekTexture(); |
} |
-bool SkImage::isTextureBacked() const { return SkToBool(as_IB(this)->getTexture()); } |
+bool SkImage::isTextureBacked() const { return SkToBool(as_IB(this)->peekTexture()); } |
GrBackendObject SkImage::getTextureHandle(bool flushPendingGrContextIO) const { |
- GrTexture* texture = as_IB(this)->getTexture(); |
+ GrTexture* texture = as_IB(this)->peekTexture(); |
if (texture) { |
GrContext* context = texture->getContext(); |
if (context) { |