aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/IndexedPngOverflowTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/IndexedPngOverflowTest.cpp')
-rw-r--r--tests/IndexedPngOverflowTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/IndexedPngOverflowTest.cpp b/tests/IndexedPngOverflowTest.cpp
index 914053a3ac..78f8d94b1a 100644
--- a/tests/IndexedPngOverflowTest.cpp
+++ b/tests/IndexedPngOverflowTest.cpp
@@ -40,5 +40,5 @@ DEF_TEST(IndexedPngOverflow, reporter) {
SkAutoTUnref<SkSurface> surface(SkSurface::NewRaster(SkImageInfo::MakeN32Premul(20, 1)));
SkCanvas* canvas = surface->getCanvas();
SkRect destRect = SkRect::MakeXYWH(0, 0, 20, 1);
- canvas->drawBitmapRect(image, destRect, NULL);
+ canvas->drawBitmapRect(image, destRect, nullptr);
}