Index: chrome/renderer/chrome_content_renderer_client.cc |
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc |
index 840a53be5658f13a052b4621ed58ce7776f20bdb..22b03ba45fc5f52171951a43bd42290178c5fdfe 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -563,9 +563,8 @@ bool ChromeContentRendererClient::OverrideCreatePlugin( |
GURL url(params.url); |
#if defined(ENABLE_PLUGINS) |
ChromeViewHostMsg_GetPluginInfo_Output output; |
- WebString top_origin = frame->top()->getSecurityOrigin().toString(); |
render_frame->Send(new ChromeViewHostMsg_GetPluginInfo( |
- render_frame->GetRoutingID(), url, blink::WebStringToGURL(top_origin), |
+ render_frame->GetRoutingID(), url, frame->top()->getSecurityOrigin(), |
orig_mime_type, &output)); |
*plugin = CreatePlugin(render_frame, frame, params, output); |
#else // !defined(ENABLE_PLUGINS) |