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

Unified Diff: chrome/browser/sync/glue/synced_window_delegate_android.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
« no previous file with comments | « no previous file | chrome/browser/sync/sessions/notification_service_sessions_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/synced_window_delegate_android.cc
diff --git a/chrome/browser/sync/glue/synced_window_delegate_android.cc b/chrome/browser/sync/glue/synced_window_delegate_android.cc
index 8ab0fdf6e60680dffd39e01b9a1d6a695f4598da..be9d5d6bbb93dcabeddde4003052318294d52ed6 100644
--- a/chrome/browser/sync/glue/synced_window_delegate_android.cc
+++ b/chrome/browser/sync/glue/synced_window_delegate_android.cc
@@ -59,7 +59,7 @@ bool SyncedWindowDelegateAndroid::IsTabPinned(
SyncedTabDelegate* SyncedWindowDelegateAndroid::GetTabAt(int index) const {
// After a restart, it is possible for the Tab to be null during startup.
TabAndroid* tab = tab_model_->GetTabAt(index);
- return tab ? tab->GetSyncedTabDelegate() : NULL;
+ return tab ? tab->GetSyncedTabDelegate() : nullptr;
}
SessionID::id_type SyncedWindowDelegateAndroid::GetTabIdAt(int index) const {
« no previous file with comments | « no previous file | chrome/browser/sync/sessions/notification_service_sessions_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698