123456789101112131415161718192021222324252627 |
- From: csagan5 <32685696+csagan5@users.noreply.github.com>
- Date: Thu, 22 Mar 2018 22:38:00 +0100
- Subject: Disable plugins enumeration
- ---
- third_party/blink/renderer/core/frame/local_frame.cc | 6 ++----
- 1 file changed, 2 insertions(+), 4 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
- @@ -1871,10 +1871,8 @@ WebContentSettingsClient* LocalFrame::GetContentSettingsClient() {
- }
-
- PluginData* LocalFrame::GetPluginData() const {
- - if (!Loader().AllowPlugins())
- - return nullptr;
- - return GetPage()->GetPluginData(
- - Tree().Top().GetSecurityContext()->GetSecurityOrigin());
- + // what about no
- + return nullptr;
- }
-
- void LocalFrame::SetAdTrackerForTesting(AdTracker* ad_tracker) {
- --
- 2.20.1
|