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

Unified Diff: ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.mm

Issue 2791183003: [Sync] Restore previous session if no tabbed windows present (Closed)
Patch Set: Self review Created 3 years, 8 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: ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.mm
diff --git a/ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.mm b/ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.mm
index 8e7f12ffdb07a1e3b4c2c75acce667845967228f..52aea7bf78c752a27805e8fdfeb191f4e7af3e43 100644
--- a/ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.mm
+++ b/ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.mm
@@ -36,7 +36,7 @@ NavigationItem* GetPossiblyPendingItemAtIndex(web::WebState* web_state, int i) {
} // namespace
IOSChromeSyncedTabDelegate::IOSChromeSyncedTabDelegate(web::WebState* web_state)
- : web_state_(web_state), sync_session_id_(0) {}
+ : web_state_(web_state), sync_session_id_(-1) {}
skym 2017/04/17 20:37:02 This should be able to ref the real invalid id con
Nicolas Zea 2017/04/17 21:24:54 Done.
IOSChromeSyncedTabDelegate::~IOSChromeSyncedTabDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698