Chromium Code Reviews| Index: tests/ClipperTest.cpp |
| diff --git a/tests/ClipperTest.cpp b/tests/ClipperTest.cpp |
| index c8f65db1978af14cda405a85ce57c05b5ec7620c..00b62293b2e24261316cf76bb71e48a937a62ab0 100644 |
| --- a/tests/ClipperTest.cpp |
| +++ b/tests/ClipperTest.cpp |
| @@ -13,8 +13,7 @@ |
| static void test_hairclipping(skiatest::Reporter* reporter) { |
| SkBitmap bm; |
| - bm.setConfig(SkBitmap::kARGB_8888_Config, 4, 4); |
| - bm.allocPixels(); |
| + bm.allocN32Pixels(4, 4); |
| bm.eraseColor(SK_ColorWHITE); |
| SkPaint paint; |