Index: content/renderer/renderer_blink_platform_impl.cc |
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc |
index 376d3a0c68a4eac8be7a2e5db04df70522f1697e..898ec08a146a0d656c73999500d5d2252a40ae43 100644 |
--- a/content/renderer/renderer_blink_platform_impl.cc |
+++ b/content/renderer/renderer_blink_platform_impl.cc |
@@ -805,12 +805,15 @@ blink::WebMIDIAccessor* RendererBlinkPlatformImpl::createMIDIAccessor( |
void RendererBlinkPlatformImpl::getPluginList( |
bool refresh, |
+ blink::WebSecurityOrigin* origin, |
blink::WebPluginListBuilder* builder) { |
#if defined(ENABLE_PLUGINS) |
std::vector<WebPluginInfo> plugins; |
if (!plugin_refresh_allowed_) |
refresh = false; |
- RenderThread::Get()->Send(new FrameHostMsg_GetPlugins(refresh, &plugins)); |
+ GURL url = origin ? WebSecurityOriginToGURL(*origin) : GURL(); |
+ RenderThread::Get()->Send( |
+ new FrameHostMsg_GetPlugins(refresh, url, &plugins)); |
for (const WebPluginInfo& plugin : plugins) { |
builder->addPlugin( |
plugin.name, plugin.desc, |