Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(875)

Unified Diff: gm/peekpixels.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/pathopsskpclip.cpp ('k') | gm/perlinnoise.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « gm/pathopsskpclip.cpp ('k') | gm/perlinnoise.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698