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

Unified Diff: chrome/browser/android/tab_android.cc

Issue 1321713005: Abstract WebContents/NavigationController from core TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Created 5 years, 3 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/android/tab_android.cc
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
index 8b28116b8bf6d31305b2e82e1e5c8ff50ea68eef..46619ed20cc8db6d805f380be04bd94e4d1e9676 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -63,6 +63,7 @@
#include "components/offline_pages/offline_page_feature.h"
#include "components/offline_pages/offline_page_item.h"
#include "components/offline_pages/offline_page_model.h"
+#include "components/sessions/content/content_open_tab.h"
#include "components/url_formatter/url_fixer.h"
#include "content/public/browser/android/compositor.h"
#include "content/public/browser/android/content_view_core.h"
@@ -736,7 +737,8 @@ void TabAndroid::CreateHistoricalTabFromContents(WebContents* web_contents) {
}
// TODO(jcivelli): is the index important?
- service->CreateHistoricalTab(web_contents, -1);
+ service->CreateHistoricalTab(
+ sessions::ContentOpenTab::FromWebContents(web_contents), -1);
}
void TabAndroid::CreateHistoricalTab(JNIEnv* env, jobject obj) {
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/ui/webui_login_view.cc » ('j') | chrome/browser/ui/panels/panel_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698