Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1213)

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2156803002: [HBD] Remove PluginCache and reload plugin list when origin changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes per dcheng@'s comment Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 57c4765081cc252bb1073a41379e3bf0d86f6413..a189504769737ca63758d92bad6578ba4118d5fc 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -834,7 +834,7 @@ PluginData* LocalFrame::pluginData() const
{
if (!loader().allowPlugins(NotAboutToInstantiatePlugin))
return nullptr;
- return page()->pluginData();
+ return page()->pluginData(tree().top()->securityContext()->getSecurityOrigin());
}
DEFINE_WEAK_IDENTIFIER_MAP(LocalFrame);

Powered by Google App Engine
This is Rietveld 408576698