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