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

Unified Diff: src/gpu/gl/debug/GrDebugGL.h

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 | « src/gpu/gl/debug/GrBufferObj.h ('k') | src/gpu/gl/debug/GrDebugGL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/debug/GrDebugGL.h
diff --git a/src/gpu/gl/debug/GrDebugGL.h b/src/gpu/gl/debug/GrDebugGL.h
index ae6a9783635696c1c929ac76a51849a909975a5e..2560879b4f46b165fe2a5ecb4a7180c31b794ffa 100644
--- a/src/gpu/gl/debug/GrDebugGL.h
+++ b/src/gpu/gl/debug/GrDebugGL.h
@@ -92,7 +92,7 @@ public:
// someone should admit to actually using this class
SkASSERT(0 < gStaticRefCount);
- if (NULL == gObj) {
+ if (nullptr == gObj) {
gObj = new GrDebugGL;
}
@@ -110,7 +110,7 @@ public:
gStaticRefCount--;
if (0 == gStaticRefCount) {
delete gObj;
- gObj = NULL;
+ gObj = nullptr;
}
}
« no previous file with comments | « src/gpu/gl/debug/GrBufferObj.h ('k') | src/gpu/gl/debug/GrDebugGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698