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

Unified Diff: components/sync_sessions/sync_sessions_metrics.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: components/sync_sessions/sync_sessions_metrics.cc
diff --git a/components/sync_sessions/sync_sessions_metrics.cc b/components/sync_sessions/sync_sessions_metrics.cc
index de5f03abd29952e662c044284d7cf82f1ab99f7f..1242b095e3289cd4ac8df9bbb6be82e7602628e4 100644
--- a/components/sync_sessions/sync_sessions_metrics.cc
+++ b/components/sync_sessions/sync_sessions_metrics.cc
@@ -20,7 +20,7 @@ namespace sync_sessions {
// static
void SyncSessionsMetrics::RecordYoungestForeignTabAgeOnNTP(
SessionsSyncManager* sessions_sync_manager) {
- if (sessions_sync_manager != NULL) {
+ if (sessions_sync_manager != nullptr) {
std::vector<const SyncedSession*> foreign_sessions;
sessions_sync_manager->GetAllForeignSessions(&foreign_sessions);
base::Time best(MaxTabTimestamp(foreign_sessions));
« no previous file with comments | « components/sync_sessions/sessions_sync_manager.cc ('k') | components/sync_sessions/synced_session_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698