| Index: tests/SerializationTest.cpp
|
| diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp
|
| index ce91490f3e9c591e3bd4be5d55551bd0e011faf0..c8f8e4926e050b98816ba97fcdcb90327da1b0cf 100644
|
| --- a/tests/SerializationTest.cpp
|
| +++ b/tests/SerializationTest.cpp
|
| @@ -390,12 +390,12 @@
|
| SkImageInfo info = SkImageInfo::MakeN32Premul(kBitmapSize, kBitmapSize);
|
|
|
| SkBitmap validBitmap;
|
| - validBitmap.setInfo(info);
|
| + validBitmap.setConfig(info);
|
|
|
| // Create a bitmap with a really large height
|
| info.fHeight = 1000000000;
|
| SkBitmap invalidBitmap;
|
| - invalidBitmap.setInfo(info);
|
| + invalidBitmap.setConfig(info);
|
|
|
| // The deserialization should succeed, and the rendering shouldn't crash,
|
| // even when the device fails to initialize, due to its size
|
|
|