Index: src/core/SkData.cpp |
diff --git a/src/core/SkData.cpp b/src/core/SkData.cpp |
index a1b42b0c4f971b08a17f411b0af4a943b5b926c9..6b9b56be1725ffb2b252100c4be2602c3f6141d0 100644 |
--- a/src/core/SkData.cpp |
+++ b/src/core/SkData.cpp |
@@ -320,7 +320,7 @@ SkDataSet::SkDataSet(SkFlattenableReadBuffer& buffer) { |
for (int i = 0; i < fCount; ++i) { |
fPairs[i].fKey = keyStorage; |
keyStorage += strlen(keyStorage) + 1; |
- fPairs[i].fValue = buffer.readFlattenableT<SkData>(); |
+ fPairs[i].fValue = buffer.readData(); |
} |
} else { |
fKeySize = 0; |