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

Unified Diff: chrome/browser/ui/android/tab_model/android_live_tab_context.cc

Issue 2727663004: Use TabLoader in TabRestoreService. (Closed)
Patch Set: Created 3 years, 10 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/android/tab_model/android_live_tab_context.cc
diff --git a/chrome/browser/ui/android/tab_model/android_live_tab_context.cc b/chrome/browser/ui/android/tab_model/android_live_tab_context.cc
index 8b298ada7e1f4aa4bed9c11f59ba65a462cb8847..73740024ea894e4a9d2b34dda825fe2274f40e5f 100644
--- a/chrome/browser/ui/android/tab_model/android_live_tab_context.cc
+++ b/chrome/browser/ui/android/tab_model/android_live_tab_context.cc
@@ -84,6 +84,7 @@ sessions::LiveTab* AndroidLiveTabContext::AddRestoredTab(
// Create new tab.
tab_model_->CreateTab(nullptr, web_contents, -1);
+ web_contents->GetController().LoadIfNecessary();
return sessions::ContentLiveTab::GetForWebContents(web_contents);
}

Powered by Google App Engine
This is Rietveld 408576698