Index: chrome/browser/background/background_contents.cc |
diff --git a/chrome/browser/background/background_contents.cc b/chrome/browser/background/background_contents.cc |
index 258faf3c4eb6ff3bd28d3ac2a147f9c6c4e4bf75..6b02c78a44190ef227f0d969f3f2cacd2514b52f 100644 |
--- a/chrome/browser/background/background_contents.cc |
+++ b/chrome/browser/background/background_contents.cc |
@@ -44,7 +44,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.renderer_initiated_creation = true; |
+ create_params.renderer_initiated_creation = routing_id != MSG_ROUTING_NONE; |
if (session_storage_namespace) { |
content::SessionStorageNamespaceMap session_storage_namespace_map; |
session_storage_namespace_map.insert( |