Index: content/browser/frame_host/render_frame_message_filter.cc |
diff --git a/content/browser/frame_host/render_frame_message_filter.cc b/content/browser/frame_host/render_frame_message_filter.cc |
index 21a811a85a908f35bf29fc5a07096680dff3fc47..0c60f979128b74471f5e6007ecd1b93c308bf2be 100644 |
--- a/content/browser/frame_host/render_frame_message_filter.cc |
+++ b/content/browser/frame_host/render_frame_message_filter.cc |
@@ -52,6 +52,7 @@ void CreateChildFrameOnUI( |
int parent_routing_id, |
blink::WebTreeScopeType scope, |
const std::string& frame_name, |
+ const std::string& frame_unique_name, |
blink::WebSandboxFlags sandbox_flags, |
const blink::WebFrameOwnerProperties& frame_owner_properties, |
int new_routing_id) { |
@@ -62,7 +63,7 @@ void CreateChildFrameOnUI( |
// processing a subframe creation message. |
if (render_frame_host) { |
render_frame_host->OnCreateChildFrame(new_routing_id, scope, frame_name, |
- sandbox_flags, |
+ frame_unique_name, sandbox_flags, |
frame_owner_properties); |
} |
} |
@@ -326,18 +327,15 @@ bool RenderFrameMessageFilter::OnMessageReceived(const IPC::Message& message) { |
} |
void RenderFrameMessageFilter::OnCreateChildFrame( |
- int parent_routing_id, |
- blink::WebTreeScopeType scope, |
- const std::string& frame_name, |
- blink::WebSandboxFlags sandbox_flags, |
- const blink::WebFrameOwnerProperties& frame_owner_properties, |
+ const FrameHostMsg_CreateChildFrame_Params& params, |
int* new_routing_id) { |
*new_routing_id = render_widget_helper_->GetNextRoutingID(); |
BrowserThread::PostTask( |
BrowserThread::UI, FROM_HERE, |
- base::Bind(&CreateChildFrameOnUI, render_process_id_, parent_routing_id, |
- scope, frame_name, sandbox_flags, frame_owner_properties, |
- *new_routing_id)); |
+ base::Bind(&CreateChildFrameOnUI, render_process_id_, |
+ params.parent_routing_id, params.scope, params.frame_name, |
+ params.frame_unique_name, params.sandbox_flags, |
+ params.frame_owner_properties, *new_routing_id)); |
} |
void RenderFrameMessageFilter::OnSetCookie(int render_frame_id, |