Index: src/core/SkReadBuffer.cpp |
diff --git a/src/core/SkReadBuffer.cpp b/src/core/SkReadBuffer.cpp |
index 88894d13ab13ef346de83b4cd8882fe876db75f3..a3ae8ae9b90587e5db04d6afed83868d2ad7d070 100644 |
--- a/src/core/SkReadBuffer.cpp |
+++ b/src/core/SkReadBuffer.cpp |
@@ -276,7 +276,7 @@ bool SkReadBuffer::readBitmap(SkBitmap* bitmap) { |
} |
} |
// Could not read the SkBitmap. Use a placeholder bitmap. |
- bitmap->setConfig(SkImageInfo::MakeUnknown(width, height)); |
+ bitmap->setInfo(SkImageInfo::MakeUnknown(width, height)); |
return false; |
} |