Index: include/core/SkFlattenableBuffers.h |
diff --git a/include/core/SkFlattenableBuffers.h b/include/core/SkFlattenableBuffers.h |
index f5b853c5ac478f6a0dac78563dd185ed5f1a9e5f..03c03f3877e6f8e3f508d29e371d5c7ebd91624e 100644 |
--- a/include/core/SkFlattenableBuffers.h |
+++ b/include/core/SkFlattenableBuffers.h |
@@ -60,7 +60,7 @@ public: |
virtual int32_t read32() = 0; |
// strings -- the caller is responsible for freeing the string contents |
- virtual char* readString() = 0; |
+ virtual void readString(SkString* string) = 0; |
virtual void* readEncodedString(size_t* length, SkPaint::TextEncoding encoding) = 0; |
// common data structures |