Index: src/effects/SkBitmapSource.cpp |
diff --git a/src/effects/SkBitmapSource.cpp b/src/effects/SkBitmapSource.cpp |
index 79f6e92c1d80512629ccdb6aa379b95b3ba4db83..d8d4329e655a5a698b15eda987944934a50ac60e 100644 |
--- a/src/effects/SkBitmapSource.cpp |
+++ b/src/effects/SkBitmapSource.cpp |
@@ -28,7 +28,7 @@ SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, co |
SkBitmapSource::SkBitmapSource(SkReadBuffer& buffer) : INHERITED(0, buffer) { |
if (buffer.isVersionLT(SkReadBuffer::kNoMoreBitmapFlatten_Version)) { |
- fBitmap.unflatten(buffer); |
+ fBitmap.legacyUnflatten(buffer); |
} else { |
buffer.readBitmap(&fBitmap); |
} |