Index: tests/ClipCubicTest.cpp |
diff --git a/tests/ClipCubicTest.cpp b/tests/ClipCubicTest.cpp |
index db6ae8029333814068b8260bf837dc9a76d2fafd..31b38f2726286228f24d74e35c6ab7f6e57ad551 100644 |
--- a/tests/ClipCubicTest.cpp |
+++ b/tests/ClipCubicTest.cpp |
@@ -16,8 +16,7 @@ |
// with a device/clip that is larger. |
static void test_giantClip() { |
SkBitmap bm; |
- bm.setConfig(SkBitmap::kARGB_8888_Config, 64919, 1); |
- bm.allocPixels(); |
+ bm.allocN32Pixels(64919, 1); |
SkCanvas canvas(bm); |
canvas.clear(SK_ColorTRANSPARENT); |