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

Unified Diff: tools/gn/scheduler.cc

Issue 798333005: tools/gn: Pass clang-modernize -use-nullptr over it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address Brett's review - revert some clang-format changes Created 6 years 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 | « tools/gn/pattern.cc ('k') | tools/gn/scope.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/scheduler.cc
diff --git a/tools/gn/scheduler.cc b/tools/gn/scheduler.cc
index 0f6965420e8416c02336e43c8ac760297c9ef643..86de7056bed822ac4d70363aed76f0202d94ad46 100644
--- a/tools/gn/scheduler.cc
+++ b/tools/gn/scheduler.cc
@@ -10,7 +10,7 @@
#include "tools/gn/standard_out.h"
#include "tools/gn/switches.h"
-Scheduler* g_scheduler = NULL;
+Scheduler* g_scheduler = nullptr;
namespace {
@@ -39,7 +39,7 @@ Scheduler::Scheduler()
Scheduler::~Scheduler() {
if (!has_been_shutdown_)
pool_->Shutdown();
- g_scheduler = NULL;
+ g_scheduler = nullptr;
}
bool Scheduler::Run() {
« no previous file with comments | « tools/gn/pattern.cc ('k') | tools/gn/scope.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698