Index: chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc |
diff --git a/chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc b/chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc |
index 9175a103401b32d38b627624e6829697e7e2ad83..4f8f10b2e26d4061c31820b098b4a3d994e71997 100644 |
--- a/chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc |
+++ b/chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc |
@@ -46,10 +46,11 @@ scoped_ptr<blink::WebPluginPlaceholder> CreateShadowDOMPlaceholderForPluginInfo( |
// TODO(jbroman): Investigate whether browser plugin needs special handling. |
ChromeViewHostMsg_GetPluginInfo_Output output; |
#if defined(ENABLE_PLUGINS) |
+ blink::WebString top_origin = frame->top()->securityOrigin().toString(); |
render_frame->Send( |
new ChromeViewHostMsg_GetPluginInfo(render_frame->GetRoutingID(), |
GURL(orig_params.url), |
- frame->top()->document().url(), |
+ GURL(top_origin), |
orig_mime_type, |
&output)); |
#else |