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