Skip to content

Commit 7eaad9b

Browse files
AhrotahnPF4Public
authored andcommitted
Correct reporting buildflag position
1 parent a40aba5 commit 7eaad9b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

patches/core/ungoogled-chromium/fix-building-without-enabling-reporting.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@
2424
]
2525
--- a/content/public/common/content_switch_dependent_feature_overrides.cc
2626
+++ b/content/public/common/content_switch_dependent_feature_overrides.cc
27-
@@ -47,9 +47,11 @@ GetSwitchDependentFeatureOverrides(const
27+
@@ -46,9 +46,11 @@ GetSwitchDependentFeatureOverrides(const
28+
{switches::kEnableExperimentalWebPlatformFeatures,
2829
std::cref(features::kDocumentPolicyNegotiation),
2930
base::FeatureList::OVERRIDE_ENABLE_FEATURE},
30-
{switches::kEnableExperimentalWebPlatformFeatures,
3131
+#if BUILDFLAG(ENABLE_REPORTING)
32+
{switches::kEnableExperimentalWebPlatformFeatures,
3233
std::cref(net::features::kDocumentReporting),
3334
base::FeatureList::OVERRIDE_ENABLE_FEATURE},
34-
{switches::kEnableExperimentalWebPlatformFeatures,
3535
+#endif
36+
{switches::kEnableExperimentalWebPlatformFeatures,
3637
std::cref(features::kExperimentalContentSecurityPolicyFeatures),
3738
base::FeatureList::OVERRIDE_ENABLE_FEATURE},
38-
{switches::kEnableExperimentalWebPlatformFeatures,
3939
--- a/third_party/blink/renderer/core/frame/local_frame.cc
4040
+++ b/third_party/blink/renderer/core/frame/local_frame.cc
4141
@@ -39,6 +39,7 @@

0 commit comments

Comments
 (0)