Index: content/renderer/render_frame_impl.cc |
=================================================================== |
--- content/renderer/render_frame_impl.cc (revision 238847) |
+++ content/renderer/render_frame_impl.cc (working copy) |
@@ -467,6 +467,10 @@ |
return false; |
} |
+int RenderFrameImpl::GetRoutingID() { |
+ return routing_id_; |
+} |
+ |
blink::WebPlugin* RenderFrameImpl::CreatePlugin( |
blink::WebFrame* frame, |
const WebPluginInfo& info, |
@@ -510,9 +514,10 @@ |
#if defined(ENABLE_PLUGINS) |
WebPluginInfo info; |
std::string mime_type; |
- bool found = render_view_->GetPluginInfo( |
- params.url, frame->top()->document().url(), params.mimeType.utf8(), |
- &info, &mime_type); |
+ bool found = false; |
+ Send(new FrameHostMsg_GetPluginInfo( |
+ routing_id_, params.url, frame->top()->document().url(), |
+ params.mimeType.utf8(), &found, &info, &mime_type)); |
if (!found) |
return NULL; |
@@ -1026,6 +1031,7 @@ |
new RequestExtraData(referrer_policy, |
custom_user_agent, |
was_after_preconnect_request, |
+ routing_id_, |
(frame == top_frame), |
frame->identifier(), |
GURL(frame->document().securityOrigin().toString()), |