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); |
} |
} |