Index: src/core/SkReadBuffer.h |
diff --git a/src/core/SkReadBuffer.h b/src/core/SkReadBuffer.h |
index 1873c7d3f46edc46ede270af08e53802abc957d7..d29fef842f4ee463417d461d88d4d89318d007e9 100644 |
--- a/src/core/SkReadBuffer.h |
+++ b/src/core/SkReadBuffer.h |
@@ -123,6 +123,7 @@ public: |
virtual void readString(SkString* string); |
// common data structures |
+ virtual void readColor4f(SkColor4f* color); |
virtual void readPoint(SkPoint* point); |
SkPoint readPoint() { SkPoint p; this->readPoint(&p); return p; } |
virtual void readMatrix(SkMatrix* matrix); |
@@ -150,6 +151,7 @@ public: |
// binary data and arrays |
virtual bool readByteArray(void* value, size_t size); |
virtual bool readColorArray(SkColor* colors, size_t size); |
+ virtual bool readColor4fArray(SkColor4f* colors, size_t size); |
virtual bool readIntArray(int32_t* values, size_t size); |
virtual bool readPointArray(SkPoint* points, size_t size); |
virtual bool readScalarArray(SkScalar* values, size_t size); |