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

Unified Diff: gm/colorcube.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/blurs.cpp ('k') | gm/coloremoji.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/colorcube.cpp
diff --git a/gm/colorcube.cpp b/gm/colorcube.cpp
index 931dcfaf51beda81516f5357115eddc1d6b10b10..18de813134815e3f2197da37aeb0fcbd4803678d 100644
--- a/gm/colorcube.cpp
+++ b/gm/colorcube.cpp
@@ -20,18 +20,18 @@ static SkShader* MakeLinear() {
};
static const SkColor colors[] = { SK_ColorYELLOW, SK_ColorBLUE };
return SkGradientShader::CreateLinear(
- pts, colors, NULL, 2, SkShader::kRepeat_TileMode, 0, &SkMatrix::I());
+ pts, colors, nullptr, 2, SkShader::kRepeat_TileMode, 0, &SkMatrix::I());
}
class ColorCubeGM : public GM {
public:
ColorCubeGM()
: fInitialized(false)
- , f3DLut4(NULL)
- , f3DLut8(NULL)
- , f3DLut16(NULL)
- , f3DLut32(NULL)
- , f3DLut64(NULL)
+ , f3DLut4(nullptr)
+ , f3DLut8(nullptr)
+ , f3DLut16(nullptr)
+ , f3DLut32(nullptr)
+ , f3DLut64(nullptr)
{
this->setBGColor(0xFF000000);
}
« no previous file with comments | « gm/blurs.cpp ('k') | gm/coloremoji.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698