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

Unified Diff: gm/lumafilter.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/lighting.cpp ('k') | gm/matrixconvolution.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/lumafilter.cpp
diff --git a/gm/lumafilter.cpp b/gm/lumafilter.cpp
index 46a22f84c4cdfed60c57679aae339bf09653ff2e..3244b2b055628f7fe3497d17a6fae87ab37d6e0a 100644
--- a/gm/lumafilter.cpp
+++ b/gm/lumafilter.cpp
@@ -38,7 +38,7 @@ static void draw_scene(SkCanvas* canvas, SkColorFilter* filter,
paint.setARGB(0x20, 0, 0, 0xff);
canvas->drawRect(bounds, paint);
- canvas->saveLayer(&bounds, NULL);
+ canvas->saveLayer(&bounds, nullptr);
r = bounds;
r.inset(kInset, 0);
@@ -119,9 +119,9 @@ protected:
SkShader* fShader1;
SkShader* fShader2;
} shaders[] = {
- { NULL, NULL },
- { NULL, fGr2 },
- { fGr1, NULL },
+ { nullptr, nullptr },
+ { nullptr, fGr2 },
+ { fGr1, nullptr },
{ fGr1, fGr2 },
};
« no previous file with comments | « gm/lighting.cpp ('k') | gm/matrixconvolution.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698