Index: src/lazy/SkCachingPixelRef.h |
diff --git a/src/lazy/SkCachingPixelRef.h b/src/lazy/SkCachingPixelRef.h |
index 4a0387ddf8e1b827f836c6ee49f6c7c860ac2d7b..75710d8bde4c76eb5478ae8fcd8b905946c2fdce 100644 |
--- a/src/lazy/SkCachingPixelRef.h |
+++ b/src/lazy/SkCachingPixelRef.h |
@@ -40,7 +40,7 @@ public: |
protected: |
virtual ~SkCachingPixelRef(); |
- virtual void* onLockPixels(SkColorTable** colorTable) SK_OVERRIDE; |
+ virtual bool onNewLockPixels(LockRec*) SK_OVERRIDE; |
virtual void onUnlockPixels() SK_OVERRIDE; |
virtual bool onLockPixelsAreWritable() const SK_OVERRIDE { return false; } |
@@ -58,12 +58,12 @@ private: |
SkImageGenerator* const fImageGenerator; |
bool fErrorInDecoding; |
void* fScaledCacheId; |
- const SkImageInfo fInfo; |
const size_t fRowBytes; |
SkCachingPixelRef(SkImageGenerator* imageGenerator, |
const SkImageInfo& info, |
size_t rowBytes); |
+ |
typedef SkPixelRef INHERITED; |
}; |