Index: include/core/SkReadBuffer.h |
diff --git a/include/core/SkReadBuffer.h b/include/core/SkReadBuffer.h |
index dfd92eedc0c26d986585d85019af1b27191e2568..c90fbd3eb939d194edbeb932068d28d00aa7eefd 100644 |
--- a/include/core/SkReadBuffer.h |
+++ b/include/core/SkReadBuffer.h |
@@ -24,7 +24,6 @@ |
#include "SkReader32.h" |
#include "SkRefCnt.h" |
#include "SkShader.h" |
-#include "SkUnitMapper.h" |
#include "SkWriteBuffer.h" |
#include "SkXfermode.h" |
@@ -110,9 +109,13 @@ public: |
SkPixelRef* readPixelRef() { return this->readFlattenable<SkPixelRef>(); } |
SkRasterizer* readRasterizer() { return this->readFlattenable<SkRasterizer>(); } |
SkShader* readShader() { return this->readFlattenable<SkShader>(); } |
- SkUnitMapper* readUnitMapper() { return this->readFlattenable<SkUnitMapper>(); } |
SkXfermode* readXfermode() { return this->readFlattenable<SkXfermode>(); } |
+ /** |
+ * Like readFlattenable() but explicitly just skips the data that was written for the |
+ * flattenable (or the sentinel that there wasn't one). |
+ */ |
+ virtual void skipFlattenable(); |
// binary data and arrays |
virtual bool readByteArray(void* value, size_t size); |