Index: src/image/SkImagePriv.h |
diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h |
index 89900766b4275900ff13c2c1276b13304090a957..e9d1d838991adfa08b1e565d614bec932645ce89 100644 |
--- a/src/image/SkImagePriv.h |
+++ b/src/image/SkImagePriv.h |
@@ -33,7 +33,7 @@ static inline size_t SkImageMinRowBytes(const SkImageInfo& info) { |
// Given an image created from SkNewImageFromBitmap, return its pixelref. This |
// may be called to see if the surface and the image share the same pixelref, |
// in which case the surface may need to perform a copy-on-write. |
-extern SkPixelRef* SkBitmapImageGetPixelRef(SkImage* rasterImage); |
+extern const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* rasterImage); |
// Given an image created with NewTexture, return its GrTexture. This |
// may be called to see if the surface and the image share the same GrTexture, |