Index: src/lazy/SkLazyPixelRef.h |
diff --git a/src/lazy/SkLazyPixelRef.h b/src/lazy/SkLazyPixelRef.h |
index f8a16d168914326b52726241358bab7d77b5c2d7..c9e1bc3f8baf2fcb67f865401a56ace5febfc13e 100644 |
--- a/src/lazy/SkLazyPixelRef.h |
+++ b/src/lazy/SkLazyPixelRef.h |
@@ -60,7 +60,8 @@ public: |
SK_DECLARE_UNFLATTENABLE_OBJECT() |
protected: |
- virtual void* onLockPixels(SkColorTable**) SK_OVERRIDE; |
+ virtual void* onLockPixels(SkImageInfo*, size_t* rowBytes, |
+ SkColorTable**) SK_OVERRIDE; |
virtual void onUnlockPixels() SK_OVERRIDE; |
virtual bool onLockPixelsAreWritable() const SK_OVERRIDE { return false; } |
virtual SkData* onRefEncodedData() SK_OVERRIDE; |
@@ -86,8 +87,8 @@ private: |
// lazily initialized our cached info. Returns NULL on failure. |
const SkImage::Info* getCachedInfo(); |
- void* lockScaledImageCachePixels(); |
- void* lockImageCachePixels(); |
+ void* lockScaledImageCachePixels(SkImageInfo*, size_t* rowBytes); |
+ void* lockImageCachePixels(SkImageInfo*, size_t* rowBytes); |
typedef SkPixelRef INHERITED; |