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

Unified Diff: chrome/browser/sync/sessions/notification_service_sessions_router.cc

Issue 2461463002: [Sync] Replacing NULL with nullptr/null throughout sync code. (Closed)
Patch Set: Reverted PROFILE_nullptr mistake. Created 4 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
Index: chrome/browser/sync/sessions/notification_service_sessions_router.cc
diff --git a/chrome/browser/sync/sessions/notification_service_sessions_router.cc b/chrome/browser/sync/sessions/notification_service_sessions_router.cc
index 1ce72a52b815ea2f4b88f2aad04f41b67b946f35..b19868e99dad39caa3fad0cf9edd9cc0b2fb66cf 100644
--- a/chrome/browser/sync/sessions/notification_service_sessions_router.cc
+++ b/chrome/browser/sync/sessions/notification_service_sessions_router.cc
@@ -61,7 +61,7 @@ NotificationServiceSessionsRouter::NotificationServiceSessionsRouter(
Profile* profile,
SyncSessionsClient* sessions_client,
const syncer::SyncableService::StartSyncFlare& flare)
- : handler_(NULL),
+ : handler_(nullptr),
profile_(profile),
sessions_client_(sessions_client),
flare_(flare),
@@ -207,7 +207,7 @@ void NotificationServiceSessionsRouter::StartRoutingTo(
void NotificationServiceSessionsRouter::Stop() {
weak_ptr_factory_.InvalidateWeakPtrs();
- handler_ = NULL;
+ handler_ = nullptr;
}
} // namespace sync_sessions

Powered by Google App Engine
This is Rietveld 408576698