| 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 44df2ada30b0292ddaba658a7526b65ff48cf291..a3132cf132441d6cc74568409ff95642bf0aff80 100644
|
| --- a/chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
| +++ b/chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
| @@ -247,12 +247,10 @@ void ChromePluginPlaceholder::PluginListChanged() {
|
|
|
| ChromeViewHostMsg_GetPluginInfo_Output output;
|
| std::string mime_type(GetPluginParams().mimeType.utf8());
|
| - render_frame()->Send(
|
| - new ChromeViewHostMsg_GetPluginInfo(routing_id(),
|
| - GURL(GetPluginParams().url),
|
| - document.url(),
|
| - mime_type,
|
| - &output));
|
| + blink::WebString top_origin = GetFrame()->top()->securityOrigin().toString();
|
| + render_frame()->Send(new ChromeViewHostMsg_GetPluginInfo(
|
| + routing_id(), GURL(GetPluginParams().url), GURL(top_origin), mime_type,
|
| + &output));
|
| if (output.status == status_)
|
| return;
|
| blink::WebPlugin* new_plugin = ChromeContentRendererClient::CreatePlugin(
|
|
|