| Index: tests/SerializationTest.cpp
|
| diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp
|
| index 450f94f47ec55006a06ba64f86ecc8d7369e23e4..ea03e875a2c9af7f86596efd3fe21d277443ecce 100644
|
| --- a/tests/SerializationTest.cpp
|
| +++ b/tests/SerializationTest.cpp
|
| @@ -463,9 +463,8 @@ DEF_TEST(Serialization, reporter) {
|
| validBitmap.setInfo(info);
|
|
|
| // Create a bitmap with a really large height
|
| - info.fHeight = 1000000000;
|
| SkBitmap invalidBitmap;
|
| - invalidBitmap.setInfo(info);
|
| + invalidBitmap.setInfo(info.makeWH(info.width(), 1000000000));
|
|
|
| // The deserialization should succeed, and the rendering shouldn't crash,
|
| // even when the device fails to initialize, due to its size
|
|
|