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

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

Issue 1303773002: Give the main frame a RenderWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge conflicts Created 5 years, 2 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/background/background_contents.cc
diff --git a/chrome/browser/background/background_contents.cc b/chrome/browser/background/background_contents.cc
index 6b02c78a44190ef227f0d969f3f2cacd2514b52f..20190fd4218d3632c6ecd700e50ad20d45d5e306 100644
--- a/chrome/browser/background/background_contents.cc
+++ b/chrome/browser/background/background_contents.cc
@@ -30,8 +30,9 @@ using content::WebContents;
BackgroundContents::BackgroundContents(
SiteInstance* site_instance,
- int routing_id,
- int main_frame_routing_id,
+ int32_t routing_id,
+ int32_t main_frame_routing_id,
+ int32_t main_frame_widget_routing_id,
Delegate* delegate,
const std::string& partition_id,
content::SessionStorageNamespace* session_storage_namespace)
@@ -44,6 +45,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;
+ create_params.main_frame_widget_routing_id = main_frame_widget_routing_id;
create_params.renderer_initiated_creation = routing_id != MSG_ROUTING_NONE;
if (session_storage_namespace) {
content::SessionStorageNamespaceMap session_storage_namespace_map;

Powered by Google App Engine
This is Rietveld 408576698