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

Unified Diff: ios/chrome/browser/ui/ntp/recent_tabs/synced_sessions.mm

Issue 2499023004: [Sync] Introduce SyncedSessionWindow type. (Closed)
Patch Set: Address comments Created 3 years, 9 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 | « components/sync_sessions/synced_session_tracker_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/ntp/recent_tabs/synced_sessions.mm
diff --git a/ios/chrome/browser/ui/ntp/recent_tabs/synced_sessions.mm b/ios/chrome/browser/ui/ntp/recent_tabs/synced_sessions.mm
index 3d96d44fb520f6f934fd24eebd2b113f7ce86d00..42cc6123e032dc11caa77ea6e91da45f841e1f43 100644
--- a/ios/chrome/browser/ui/ntp/recent_tabs/synced_sessions.mm
+++ b/ios/chrome/browser/ui/ntp/recent_tabs/synced_sessions.mm
@@ -106,7 +106,7 @@ void DistantSession::InitWithSyncedSession(
} else {
// Order tabs by their visual position within window.
for (const auto& kv : synced_session->windows) {
- for (const auto& session_tab : kv.second->tabs) {
+ for (const auto& session_tab : kv.second->wrapped_window.tabs) {
AddTabToDistantSession(*session_tab, synced_session->session_tag, this);
}
}
« no previous file with comments | « components/sync_sessions/synced_session_tracker_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698