Index: Source/core/scripts/templates/RuntimeEnabledFeatures.h.tmpl |
diff --git a/Source/core/scripts/templates/RuntimeEnabledFeatures.h.tmpl b/Source/core/scripts/templates/RuntimeEnabledFeatures.h.tmpl |
index 2e23c8747d198a12dab180162688cda16ae5e1c3..8758b4fad83dca2227fe8e8a2eee729c7f133dbe 100644 |
--- a/Source/core/scripts/templates/RuntimeEnabledFeatures.h.tmpl |
+++ b/Source/core/scripts/templates/RuntimeEnabledFeatures.h.tmpl |
@@ -4,6 +4,8 @@ |
#ifndef RuntimeEnabledFeatures_h |
#define RuntimeEnabledFeatures_h |
+#include "wtf/text/WTFString.h" |
+ |
namespace WebCore { |
// A class that stores static enablers for all experimental features. |
@@ -11,6 +13,7 @@ namespace WebCore { |
class RuntimeEnabledFeatures { |
public: |
+ static bool setFeatureEnabled(const String& feature, bool enable); |
{%- for feature_set in feature_sets %} |
static void set{{feature_set|capitalize}}FeaturesEnabled(bool); |
{%- endfor %} |