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 2d9ff858b9d0449d59654e358b48c69be26599b7..1a0dcfb62e6d32b2d49dec572f722cf5d0099aac 100644 |
--- a/content/renderer/renderer_blink_platform_impl.cc |
+++ b/content/renderer/renderer_blink_platform_impl.cc |
@@ -808,12 +808,14 @@ blink::WebMIDIAccessor* RendererBlinkPlatformImpl::createMIDIAccessor( |
void RendererBlinkPlatformImpl::getPluginList( |
bool refresh, |
+ const blink::WebSecurityOrigin& mainFrameOrigin, |
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)); |
+ RenderThread::Get()->Send( |
+ new FrameHostMsg_GetPlugins(refresh, mainFrameOrigin, &plugins)); |
for (const WebPluginInfo& plugin : plugins) { |
builder->addPlugin( |
plugin.name, plugin.desc, |