Index: tests/BitmapTest.cpp |
diff --git a/tests/BitmapTest.cpp b/tests/BitmapTest.cpp |
index 42ed8841b414dfd2a6807747ab9d74a233cbe8aa..4826b831fe783ec827fdb3a1ec2d079c1b1ead10 100644 |
--- a/tests/BitmapTest.cpp |
+++ b/tests/BitmapTest.cpp |
@@ -75,7 +75,7 @@ DEF_TEST(Bitmap, reporter) { |
bool setConf = bm.setInfo(SkImageInfo::MakeN32Premul(width, height)); |
REPORTER_ASSERT(reporter, setConf); |
if (setConf) { |
- REPORTER_ASSERT(reporter, bm.allocPixels(NULL)); |
+ bm.allocPixels(); |
} |
REPORTER_ASSERT(reporter, SkToBool(width & height) != bm.empty()); |
} |