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

Unified Diff: gm/vertices.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/typeface.cpp ('k') | gm/verttext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/vertices.cpp
diff --git a/gm/vertices.cpp b/gm/vertices.cpp
index 9533d81bb4328fc23ba43a3548945fc584208b85..40dd9496ef57c31f7b2a45f778fbfd60692cdc1a 100644
--- a/gm/vertices.cpp
+++ b/gm/vertices.cpp
@@ -17,7 +17,7 @@ static SkShader* make_shader(SkScalar w, SkScalar h) {
};
const SkPoint pts[] = { { w/4, 0 }, { 3*w/4, h } };
- return SkGradientShader::CreateLinear(pts, colors, NULL,
+ return SkGradientShader::CreateLinear(pts, colors, nullptr,
SK_ARRAY_COUNT(colors),
SkShader::kMirror_TileMode);
}
@@ -30,7 +30,7 @@ class VerticesGM : public skiagm::GM {
unsigned fAlpha;
public:
- VerticesGM(unsigned alpha) : fShader(NULL), fAlpha(alpha) {
+ VerticesGM(unsigned alpha) : fShader(nullptr), fAlpha(alpha) {
}
virtual ~VerticesGM() {
@@ -85,8 +85,8 @@ protected:
const SkColor* fColors;
const SkPoint* fTexs;
} rec[] = {
- { fColors, NULL },
- { NULL, fTexs },
+ { fColors, nullptr },
+ { nullptr, fTexs },
{ fColors, fTexs },
};
« no previous file with comments | « gm/typeface.cpp ('k') | gm/verttext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698