Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 35fff1f24234b8a32cf6029efc07f65b1d08d7c7..84b1d658899f65d09cc959a978d6732929db115d 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -55,7 +55,7 @@ bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dst |
return as_IB(this)->onReadPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY); |
} |
-GrTexture* SkImage::getTexture() { |
+GrTexture* SkImage::getTexture() const { |
return as_IB(this)->onGetTexture(); |
} |