Index: src/lazy/SkDiscardablePixelRef.h |
diff --git a/src/lazy/SkDiscardablePixelRef.h b/src/lazy/SkDiscardablePixelRef.h |
index 4a013fda031abd456ce03f01edb7e7824495833d..3367096c266793f6b38756c6c43c50f34f275c81 100644 |
--- a/src/lazy/SkDiscardablePixelRef.h |
+++ b/src/lazy/SkDiscardablePixelRef.h |
@@ -28,8 +28,7 @@ public: |
protected: |
~SkDiscardablePixelRef(); |
- |
- virtual bool onNewLockPixels(LockRec*) SK_OVERRIDE; |
+ virtual void* onLockPixels(SkColorTable**) SK_OVERRIDE; |
virtual void onUnlockPixels() SK_OVERRIDE; |
virtual bool onLockPixelsAreWritable() const SK_OVERRIDE { return false; } |
@@ -50,12 +49,9 @@ private: |
SkDiscardablePixelRef(const SkImageInfo&, SkImageGenerator*, |
size_t rowBytes, |
SkDiscardableMemory::Factory* factory); |
- |
friend bool SkInstallDiscardablePixelRef(SkImageGenerator*, |
SkBitmap*, |
SkDiscardableMemory::Factory*); |
- |
typedef SkPixelRef INHERITED; |
}; |
- |
#endif // SkDiscardablePixelRef_DEFINED |