2021-04-21 00:52:34 +02:00
|
|
|
diff --git third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl
|
2022-09-26 21:30:45 +02:00
|
|
|
index d414c5db40cc4..29efc4024b67d 100644
|
2021-04-21 00:52:34 +02:00
|
|
|
--- third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl
|
|
|
|
+++ third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl
|
2022-01-25 21:26:51 +01:00
|
|
|
@@ -13,6 +13,8 @@
|
2021-04-21 00:52:34 +02:00
|
|
|
#include "third_party/blink/renderer/platform/platform_export.h"
|
|
|
|
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
|
|
|
|
|
|
|
|
+class AlloyContentRendererClient;
|
|
|
|
+
|
|
|
|
#define ASSERT_ORIGIN_TRIAL(feature) \
|
|
|
|
static_assert(std::is_same<decltype(::blink::RuntimeEnabledFeatures:: \
|
|
|
|
feature##EnabledByRuntimeFlag()), \
|
2022-09-26 21:30:45 +02:00
|
|
|
@@ -107,6 +109,7 @@ class PLATFORM_EXPORT RuntimeEnabledFeatures : public RuntimeEnabledFeaturesBase
|
2021-04-21 00:52:34 +02:00
|
|
|
// protected section of RuntimeEnabledFeaturesBase. Normally, unit tests
|
|
|
|
// should use the ScopedFeatureNameForTest classes defined in
|
|
|
|
// platform/testing/runtime_enabled_features_test_helpers.h.
|
|
|
|
+ friend class ::AlloyContentRendererClient;
|
|
|
|
friend class DevToolsEmulator;
|
|
|
|
friend class InternalRuntimeFlags;
|
|
|
|
friend class V8ContextSnapshotImpl;
|