Index: chrome/renderer/plugins/chrome_plugin_placeholder.cc |
diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.cc b/chrome/renderer/plugins/chrome_plugin_placeholder.cc |
index 54b24933564263686cd167934f21b4e95cc4236f..10fc8c192d9287e6a1f9ce4b40680a4201669f12 100644 |
--- a/chrome/renderer/plugins/chrome_plugin_placeholder.cc |
+++ b/chrome/renderer/plugins/chrome_plugin_placeholder.cc |
@@ -290,14 +290,9 @@ void ChromePluginPlaceholder::PluginListChanged() { |
ChromeViewHostMsg_GetPluginInfo_Output output; |
std::string mime_type(GetPluginParams().mimeType.utf8()); |
- blink::WebString top_origin = |
- GetFrame()->top()->getSecurityOrigin().toString(); |
- render_frame()->Send( |
- new ChromeViewHostMsg_GetPluginInfo(routing_id(), |
- GURL(GetPluginParams().url), |
- blink::WebStringToGURL(top_origin), |
- mime_type, |
- &output)); |
+ render_frame()->Send(new ChromeViewHostMsg_GetPluginInfo( |
+ routing_id(), GURL(GetPluginParams().url), |
+ GetFrame()->top()->getSecurityOrigin(), mime_type, &output)); |
if (output.status == status_) |
return; |
blink::WebPlugin* new_plugin = ChromeContentRendererClient::CreatePlugin( |