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

Unified Diff: gm/giantbitmap.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/gammatext.cpp ('k') | gm/glyph_pos.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/giantbitmap.cpp
diff --git a/gm/giantbitmap.cpp b/gm/giantbitmap.cpp
index e8bfad49900216842c9e7644066ed3a85372d060..571dbd811421b49804f059978fc051913f257859 100644
--- a/gm/giantbitmap.cpp
+++ b/gm/giantbitmap.cpp
@@ -25,7 +25,7 @@ class GiantBitmapGM : public skiagm::GM {
bool fDoRotate;
const SkBitmap& getBitmap() {
- if (NULL == fBM) {
+ if (nullptr == fBM) {
fBM = new SkBitmap;
fBM->allocN32Pixels(W, H);
fBM->eraseColor(SK_ColorWHITE);
@@ -60,7 +60,7 @@ class GiantBitmapGM : public skiagm::GM {
}
public:
- GiantBitmapGM(SkShader::TileMode mode, bool doFilter, bool doRotate) : fBM(NULL) {
+ GiantBitmapGM(SkShader::TileMode mode, bool doFilter, bool doRotate) : fBM(nullptr) {
fMode = mode;
fDoFilter = doFilter;
fDoRotate = doRotate;
« no previous file with comments | « gm/gammatext.cpp ('k') | gm/glyph_pos.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698