Index: src/core/SkReadBuffer.h |
diff --git a/src/core/SkReadBuffer.h b/src/core/SkReadBuffer.h |
index 52758d05ec3ce94cde48d0499f5739243688e3b9..e73f4cf9d9e7276888a1f704f547e20c10e66456 100644 |
--- a/src/core/SkReadBuffer.h |
+++ b/src/core/SkReadBuffer.h |
@@ -39,6 +39,10 @@ public: |
SkReadBuffer(SkStream* stream); |
virtual ~SkReadBuffer(); |
+ virtual SkReadBuffer* clone(const void* data, size_t size) const { |
+ return new SkReadBuffer(data, size); |
+ } |
+ |
enum Version { |
/* |
kFilterLevelIsEnum_Version = 23, |