Index: src/core/SkMallocPixelRef.cpp |
diff --git a/src/core/SkMallocPixelRef.cpp b/src/core/SkMallocPixelRef.cpp |
index d70098396161065e75c79b6dc9a58055d080ffe6..7d1f46c77d822f1f544e434a174321d2be1346dd 100644 |
--- a/src/core/SkMallocPixelRef.cpp |
+++ b/src/core/SkMallocPixelRef.cpp |
@@ -56,7 +56,7 @@ SkMallocPixelRef::SkMallocPixelRef(SkFlattenableReadBuffer& buffer) |
fStorage = sk_malloc_throw(fSize); |
buffer.readByteArray(fStorage); |
if (buffer.readBool()) { |
- fCTable = buffer.readFlattenableT<SkColorTable>(); |
+ fCTable = buffer.readColorTable(); |
} else { |
fCTable = NULL; |
} |