Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
index 573e3274effa896059d560dc9febdc599e00e01a..e2b2b4bd88f85766a55cc9ba5e03fc7af4e71d6d 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -847,7 +847,7 @@ PluginData* LocalFrame::pluginData() const |
{ |
if (!loader().allowPlugins(NotAboutToInstantiatePlugin)) |
return nullptr; |
- return page()->pluginData(); |
+ return page()->pluginData(securityContext()->getSecurityOrigin()); |
alexmos
2016/08/10 00:10:29
This should be tree().top()->securityContext()->ge
trizzofo
2016/08/10 00:48:11
Yes, you're right. Fixed it.
|
} |
DEFINE_WEAK_IDENTIFIER_MAP(LocalFrame); |