Index: src/core/SkReadBuffer.cpp |
diff --git a/src/core/SkReadBuffer.cpp b/src/core/SkReadBuffer.cpp |
index 70b0d13a40dfe627946b3b792c686092474db429..b0a371390bd4aa56eb7d2571c63a51499cc664af 100644 |
--- a/src/core/SkReadBuffer.cpp |
+++ b/src/core/SkReadBuffer.cpp |
@@ -117,15 +117,6 @@ void SkReadBuffer::readString(SkString* string) { |
string->set(strContents, len); |
} |
-void* SkReadBuffer::readEncodedString(size_t* length, SkPaint::TextEncoding encoding) { |
- SkDEBUGCODE(int32_t encodingType = ) fReader.readInt(); |
- SkASSERT(encodingType == encoding); |
- *length = fReader.readInt(); |
- void* data = sk_malloc_throw(*length); |
- memcpy(data, fReader.skip(SkAlign4(*length)), *length); |
- return data; |
-} |
- |
void SkReadBuffer::readPoint(SkPoint* point) { |
point->fX = fReader.readScalar(); |
point->fY = fReader.readScalar(); |