diff options
Diffstat (limited to 'tests/BitmapTest.cpp')
-rw-r--r-- | tests/BitmapTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/BitmapTest.cpp b/tests/BitmapTest.cpp index 42ed8841b4..4826b831fe 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()); } |