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

Unified Diff: gm/patchgrid.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/patch.cpp ('k') | gm/patheffects.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/patchgrid.cpp
diff --git a/gm/patchgrid.cpp b/gm/patchgrid.cpp
index 89a984727119045fde623524992c616b8614c65c..6f77d48a884f859f10c02583e4608d1de44445f9 100644
--- a/gm/patchgrid.cpp
+++ b/gm/patchgrid.cpp
@@ -110,7 +110,7 @@ protected:
static const int kCols = 4;
canvas->scale(3, 3);
- SkPatchGrid grid(kRows, kCols, SkPatchGrid::kColors_VertexType, NULL);
+ SkPatchGrid grid(kRows, kCols, SkPatchGrid::kColors_VertexType, nullptr);
for (int i = 0; i < kRows; i++) {
for (int j = 0; j < kCols; j++) {
SkPoint points[12];
@@ -137,7 +137,7 @@ protected:
colors[3] = cornerColors[i + 1][j];
colors[2] = cornerColors[i + 1][j + 1];
- grid.setPatch(j, i, points, colors, NULL);
+ grid.setPatch(j, i, points, colors, nullptr);
}
}
@@ -146,7 +146,7 @@ protected:
for (int y = 0; y < dims.height(); y++) {
for (int x = 0; x < dims.width(); x++) {
SkPoint cubics[12];
- grid.getPatch(x, y, cubics, NULL, NULL);
+ grid.getPatch(x, y, cubics, nullptr, nullptr);
draw_control_points(canvas, cubics);
}
}
« no previous file with comments | « gm/patch.cpp ('k') | gm/patheffects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698