| Index: tests/PDFPrimitivesTest.cpp
|
| diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp
|
| index b05d4c84feeaeeb8d3c6a110e3853f6f83040f6d..b1d482ffa2d4ee662055d6cb427bfe0db6aa9c5f 100644
|
| --- a/tests/PDFPrimitivesTest.cpp
|
| +++ b/tests/PDFPrimitivesTest.cpp
|
| @@ -243,8 +243,7 @@ static void TestSubstitute(skiatest::Reporter* reporter) {
|
|
|
| // Create a bitmap that would be very eficiently compressed in a ZIP.
|
| static void setup_bitmap(SkBitmap* bitmap, int width, int height) {
|
| - bitmap->setConfig(SkBitmap::kARGB_8888_Config, width, height);
|
| - bitmap->allocPixels();
|
| + bitmap->allocN32Pixels(width, height);
|
| bitmap->eraseColor(SK_ColorWHITE);
|
| }
|
|
|
|
|