Index: src/lazy/SkLazyPixelRef.h |
diff --git a/src/lazy/SkLazyPixelRef.h b/src/lazy/SkLazyPixelRef.h |
index f8a16d168914326b52726241358bab7d77b5c2d7..6aeb8e0ab38ce7225504afc528e0f9dd06908517 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 bool onGetInfo(SkImageInfo*) SK_OVERRIDE; |
+ virtual bool onNewLockPixels(LockRec*) 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(); |
+ bool lockScaledImageCachePixels(LockRec*); |
+ bool lockImageCachePixels(LockRec*); |
typedef SkPixelRef INHERITED; |