Files
cromite/build/patches/00109-ADDTO-Add-webGL-site-setting.patch
T
Carmelo Messina b0d1766743 Rename patches
to simplify future upstream merge
2023-02-15 10:42:12 +01:00

27 lines
1.2 KiB
Diff

From: Your Name <you@example.com>
Date: Thu, 5 Jan 2023 11:37:12 +0000
Subject: 109 ADDTO Add webGL site setting
---
.../core/browser/content_settings_registry.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
--- a/components/content_settings/core/browser/content_settings_registry.cc
+++ b/components/content_settings/core/browser/content_settings_registry.cc
@@ -616,9 +616,9 @@ void ContentSettingsRegistry::Init() {
Register(ContentSettingsType::WEBGL, "webgl", CONTENT_SETTING_BLOCK,
WebsiteSettingsInfo::SYNCABLE,
- AllowlistedSchemes(),
- ValidSettings(CONTENT_SETTING_ALLOW,
- CONTENT_SETTING_BLOCK),
+ /*allowlisted_schemes=*/{},
+ /*valid_settings=*/{CONTENT_SETTING_ALLOW,
+ CONTENT_SETTING_BLOCK},
WebsiteSettingsInfo::TOP_ORIGIN_ONLY_SCOPE,
WebsiteSettingsRegistry::PLATFORM_ANDROID,
ContentSettingsInfo::INHERIT_IN_INCOGNITO,
--
2.25.1