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

Unified Diff: chrome/browser/tab_contents/background_contents.cc

Issue 790423002: Add the main frame routing ID to WebContentsDelegate, use it in BackgroundContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chromeos Created 6 years 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 | « chrome/browser/tab_contents/background_contents.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/background_contents.cc
diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc
index 48f0f4d2b0f8161df4c06e12b0d48f68d40833a9..3ff6fd1b29b2c7330b07978ea15e84d68d5a1833 100644
--- a/chrome/browser/tab_contents/background_contents.cc
+++ b/chrome/browser/tab_contents/background_contents.cc
@@ -25,6 +25,7 @@ using content::WebContents;
BackgroundContents::BackgroundContents(
SiteInstance* site_instance,
int routing_id,
+ int main_frame_routing_id,
Delegate* delegate,
const std::string& partition_id,
content::SessionStorageNamespace* session_storage_namespace)
@@ -34,6 +35,7 @@ BackgroundContents::BackgroundContents(
WebContents::CreateParams create_params(profile_, site_instance);
create_params.routing_id = routing_id;
+ create_params.main_frame_routing_id = main_frame_routing_id;
Charlie Reis 2014/12/11 17:48:18 What about other places that set CreateParams::rou
if (session_storage_namespace) {
content::SessionStorageNamespaceMap session_storage_namespace_map;
session_storage_namespace_map.insert(
« no previous file with comments | « chrome/browser/tab_contents/background_contents.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698