Index: src/lazy/SkCachingPixelRef.h |
diff --git a/src/lazy/SkCachingPixelRef.h b/src/lazy/SkCachingPixelRef.h |
index 75710d8bde4c76eb5478ae8fcd8b905946c2fdce..4a0387ddf8e1b827f836c6ee49f6c7c860ac2d7b 100644 |
--- a/src/lazy/SkCachingPixelRef.h |
+++ b/src/lazy/SkCachingPixelRef.h |
@@ -40,7 +40,7 @@ |
protected: |
virtual ~SkCachingPixelRef(); |
- virtual bool onNewLockPixels(LockRec*) SK_OVERRIDE; |
+ virtual void* onLockPixels(SkColorTable** colorTable) SK_OVERRIDE; |
virtual void onUnlockPixels() SK_OVERRIDE; |
virtual bool onLockPixelsAreWritable() const SK_OVERRIDE { return false; } |
@@ -58,12 +58,12 @@ |
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; |
}; |