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

Unified Diff: chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc

Issue 2791183003: [Sync] Restore previous session if no tabbed windows present (Closed)
Patch Set: Fix ios compile 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: chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
diff --git a/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc b/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
index 311970d8966c36ea6df209b096aff0f68f6578ad..b9d5151a85144217932c5d6268126f8a5b76c9c2 100644
--- a/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
+++ b/chrome/browser/ui/sync/tab_contents_synced_tab_delegate.cc
@@ -48,7 +48,7 @@ NavigationEntry* GetPossiblyPendingEntryAtIndex(
TabContentsSyncedTabDelegate::TabContentsSyncedTabDelegate(
content::WebContents* web_contents)
- : web_contents_(web_contents), sync_session_id_(0) {}
+ : web_contents_(web_contents), sync_session_id_(-1) {}
Ted C 2017/04/18 04:53:49 should -1 be TabNodePool::kInvalidTabNodeID?
Nicolas Zea 2017/04/18 05:04:11 Done.
TabContentsSyncedTabDelegate::~TabContentsSyncedTabDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698