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

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 1990343002: Fix navigator.plugins and navigator.mimeTypes for OOPIFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo accidental blank line Created 4 years, 7 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/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index 0ae0ab8d4573026765ff80b967787317550b4104..12e5a4b4fa9a4fd8756c2355ea7b2b20410d69b7 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -258,9 +258,6 @@ void Page::refreshPlugins()
PluginData* Page::pluginData() const
{
- if (!mainFrame()->isLocalFrame()
- || !deprecatedLocalMainFrame()->loader().allowPlugins(NotAboutToInstantiatePlugin))
- return nullptr;
if (!m_pluginData)
m_pluginData = PluginData::create(this);
return m_pluginData.get();

Powered by Google App Engine
This is Rietveld 408576698