From cccc426c8a3daf9d1fa8978a64232a3b11ecacc4 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Mon, 5 Jun 2023 20:47:58 +0200 Subject: [PATCH] Remove another method --- .../patches/Disable-third-party-origin-trials.patch | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/build/patches/Disable-third-party-origin-trials.patch b/build/patches/Disable-third-party-origin-trials.patch index 97ede956..5b79e88b 100644 --- a/build/patches/Disable-third-party-origin-trials.patch +++ b/build/patches/Disable-third-party-origin-trials.patch @@ -12,8 +12,8 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html .../origin_trials/trial_token_validator.cc | 1 + .../renderer/core/loader/document_loader.cc | 17 ----------------- .../blink/renderer/core/loader/http_equiv.cc | 2 +- - .../core/origin_trials/origin_trial_context.cc | 5 +++-- - 9 files changed, 15 insertions(+), 47 deletions(-) + .../core/origin_trials/origin_trial_context.cc | 6 ++++-- + 9 files changed, 16 insertions(+), 47 deletions(-) diff --git a/components/embedder_support/origin_trials/origin_trial_policy_impl.cc b/components/embedder_support/origin_trials/origin_trial_policy_impl.cc --- a/components/embedder_support/origin_trials/origin_trial_policy_impl.cc @@ -239,5 +239,13 @@ diff --git a/third_party/blink/renderer/core/origin_trials/origin_trial_context. } bool OriginTrialContext::IsFeatureEnabled(OriginTrialFeature feature) const { +@@ -493,6 +494,7 @@ void OriginTrialContext::AddForceEnabledTrials( + } + + bool OriginTrialContext::CanEnableTrialFromName(const StringView& trial_name) { ++ if ((true)) return false; + if (trial_name == "Portals") + return base::FeatureList::IsEnabled(features::kPortals); + -- 2.25.1