From: csagan5 <32685696+csagan5@users.noreply.github.com> Date: Thu, 22 Mar 2018 22:38:00 +0100 Subject: Disable plugins enumeration License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html --- third_party/blink/renderer/core/frame/local_frame.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/third_party/blink/renderer/core/frame/local_frame.cc b/third_party/blink/renderer/core/frame/local_frame.cc --- a/third_party/blink/renderer/core/frame/local_frame.cc +++ b/third_party/blink/renderer/core/frame/local_frame.cc @@ -2053,9 +2053,7 @@ WebContentSettingsClient* LocalFrame::GetContentSettingsClient() { } PluginData* LocalFrame::GetPluginData() const { - if (!Loader().AllowPlugins()) return nullptr; - return GetPage()->GetPluginData(); } void LocalFrame::SetAdTrackerForTesting(AdTracker* ad_tracker) { -- 2.25.1