Index: src/core/SkBitmap.cpp |
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp |
index 434c817e5249eafd80ca9f355f81fc12bbc70f0e..63a760c4cf7672a15068f8b801efc7a36d7d530e 100644 |
--- a/src/core/SkBitmap.cpp |
+++ b/src/core/SkBitmap.cpp |
@@ -1610,7 +1610,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; |
} |