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