Index: src/core/SkBitmap.cpp |
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp |
index 128726cb63d9198477afd698e377c6ee02cef6ed..aa7b5a13f4e835217235b041a9ecfd448655692c 100644 |
--- a/src/core/SkBitmap.cpp |
+++ b/src/core/SkBitmap.cpp |
@@ -1615,7 +1615,7 @@ void SkBitmap::unflatten(SkFlattenableReadBuffer& buffer) { |
switch (reftype) { |
case SERIALIZE_PIXELTYPE_REF_DATA: { |
size_t offset = buffer.readUInt(); |
- SkPixelRef* pr = buffer.readFlattenableT<SkPixelRef>(); |
+ SkPixelRef* pr = buffer.readPixelRef(); |
SkSafeUnref(this->setPixelRef(pr, offset)); |
break; |
} |