Index: src/image/SkImagePriv.h |
diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h |
index 89900766b4275900ff13c2c1276b13304090a957..ab8eb838eb77d8c5ba2866e975d5c749016337da 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. |
robertphillips
2014/09/29 17:07:55
Can this return a "cosnt SkPixelRef*" ?
Rémi Piotaix
2014/09/29 17:57:54
Done.
|
-extern SkPixelRef* SkBitmapImageGetPixelRef(SkImage* rasterImage); |
+extern 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, |