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

Unified Diff: athena/activity/activity_factory.cc

Issue 653563004: NULL -> nullptr under athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 2 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 | « no previous file | athena/activity/activity_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/activity_factory.cc
diff --git a/athena/activity/activity_factory.cc b/athena/activity/activity_factory.cc
index 2507281eef19f8cdb2799ed1a7d5dc2f76ce1a51..dbaa77d49e5f6d84f3fa3b22d9aff05f2c586129 100644
--- a/athena/activity/activity_factory.cc
+++ b/athena/activity/activity_factory.cc
@@ -10,8 +10,7 @@ namespace athena {
namespace {
-ActivityFactory* instance = NULL;
-
+ActivityFactory* instance = nullptr;
}
// static
@@ -30,7 +29,7 @@ ActivityFactory* ActivityFactory::Get() {
void ActivityFactory::Shutdown() {
DCHECK(instance);
delete instance;
- instance = NULL;
+ instance = nullptr;
}
} // namespace athena
« no previous file with comments | « no previous file | athena/activity/activity_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698