Index: gm/peekpixels.cpp |
diff --git a/gm/peekpixels.cpp b/gm/peekpixels.cpp |
index b8c1678c03c184503a196a1ad53bf6df5cb63458..a443c41b89c2b7675197935242f43fc2ee50cf87 100644 |
--- a/gm/peekpixels.cpp |
+++ b/gm/peekpixels.cpp |
@@ -47,7 +47,7 @@ protected: |
size_t rowBytes; |
const void* addr = surfCanvas->peekPixels(&info, &rowBytes); |
if (addr && bitmap.installPixels(info, const_cast<void*>(addr), rowBytes)) { |
- canvas->drawBitmap(bitmap, 0, 0, NULL); |
+ canvas->drawBitmap(bitmap, 0, 0, nullptr); |
} |
} |
@@ -55,12 +55,12 @@ protected: |
canvas->translate(120, 0); |
SkAutoROCanvasPixels ropixels(surfCanvas); |
if (ropixels.asROBitmap(&bitmap)) { |
- canvas->drawBitmap(bitmap, 0, 0, NULL); |
+ canvas->drawBitmap(bitmap, 0, 0, nullptr); |
} |
// test Surface |
canvas->translate(120, 0); |
- surface->draw(canvas, 0, 0, NULL); |
+ surface->draw(canvas, 0, 0, nullptr); |
} |
} |