| Index: tests/SurfaceTest.cpp
|
| diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp
|
| index 8075913dd7d0588640d1fbab29bf04d259c7e6f9..aa457c7dcc82a610c60c77df69174611f202f390 100644
|
| --- a/tests/SurfaceTest.cpp
|
| +++ b/tests/SurfaceTest.cpp
|
| @@ -178,8 +178,7 @@ static void TestSurfaceCopyOnWrite(skiatest::Reporter* reporter, SurfaceType sur
|
| const size_t testPointCount = 3;
|
|
|
| SkBitmap testBitmap;
|
| - testBitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 10);
|
| - testBitmap.allocPixels();
|
| + testBitmap.allocN32Pixels(10, 10);
|
| testBitmap.eraseColor(0);
|
|
|
| SkRRect testRRect;
|
|
|