Index: src/image/SkDataPixelRef.h |
diff --git a/src/image/SkDataPixelRef.h b/src/image/SkDataPixelRef.h |
index c2e52cd9e12ccb02b5bea2bf92a674927c7926c1..50c885714b91f1c3b3c389b441363a2d499ca707 100644 |
--- a/src/image/SkDataPixelRef.h |
+++ b/src/image/SkDataPixelRef.h |
@@ -14,13 +14,13 @@ |
class SkDataPixelRef : public SkPixelRef { |
public: |
- SkDataPixelRef(const SkImageInfo&, SkData* data, size_t rowBytes); |
+ SkDataPixelRef(SkData* data); |
virtual ~SkDataPixelRef(); |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDataPixelRef) |
protected: |
- virtual bool onNewLockPixels(LockRec*) SK_OVERRIDE; |
+ virtual void* onLockPixels(SkColorTable**) SK_OVERRIDE; |
virtual void onUnlockPixels() SK_OVERRIDE; |
virtual size_t getAllocatedSizeInBytes() const SK_OVERRIDE; |
@@ -28,8 +28,7 @@ |
virtual void flatten(SkFlattenableWriteBuffer&) const SK_OVERRIDE; |
private: |
- SkData* fData; |
- size_t fRB; |
+ SkData* fData; |
typedef SkPixelRef INHERITED; |
}; |