Index: tests/SkpSkGrTest.cpp |
diff --git a/tests/SkpSkGrTest.cpp b/tests/SkpSkGrTest.cpp |
index 2c01a7e42ab12272cfa5f09afae9ad0055bafe28..02aabbe2af0258aa41d885f9ad45d5e84aeb2de6 100644 |
--- a/tests/SkpSkGrTest.cpp |
+++ b/tests/SkpSkGrTest.cpp |
@@ -425,8 +425,7 @@ void TestResult::testOne() { |
do { |
dim.fX = (pWidth + scale - 1) / scale; |
dim.fY = (pHeight + scale - 1) / scale; |
- bitmap.setConfig(SkBitmap::kARGB_8888_Config, dim.fX, dim.fY); |
- bool success = bitmap.allocPixels(); |
+ bool success = bitmap.allocN32Pixels(, dim.fX, dim.fY); |
if (success) { |
break; |
} |