Index: src/core/SkReadBuffer.cpp |
diff --git a/src/core/SkReadBuffer.cpp b/src/core/SkReadBuffer.cpp |
index 3f21078b1f17a384eee6222b8a4cbf3e13e18e2a..88894d13ab13ef346de83b4cd8882fe876db75f3 100644 |
--- a/src/core/SkReadBuffer.cpp |
+++ b/src/core/SkReadBuffer.cpp |
@@ -266,7 +266,7 @@ bool SkReadBuffer::readBitmap(SkBitmap* bitmap) { |
// A size of zero means the SkBitmap was simply flattened. |
if (this->isVersionLT(kNoMoreBitmapFlatten_Version)) { |
SkBitmap tmp; |
- tmp.unflatten(*this); |
+ tmp.legacyUnflatten(*this); |
// just throw this guy away |
} else { |
if (SkBitmap::ReadRawPixels(this, bitmap)) { |