| Index: third_party/WebKit/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
|
| index d32917213bfa708058aea44c1774d38cc1b72205..847f6150667fcda0980c897a59f7fa60db492e52 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
|
| @@ -39,17 +39,8 @@ class PLATFORM_EXPORT RuntimeEnabledFeatures {
|
| {% if feature.custom %}
|
| static bool {{feature.first_lowered_name}}Enabled();
|
| {% else %}
|
| - {% if feature.condition %}
|
| -#if ENABLE({{feature.condition}})
|
| - {% endif %}
|
| static void set{{feature.name}}Enabled(bool isEnabled) { is{{feature.name}}Enabled = isEnabled; }
|
| static bool {{feature.first_lowered_name}}Enabled() { return {{feature.enabled_condition}}; }
|
| - {% if feature.condition %}
|
| -#else
|
| - static void set{{feature.name}}Enabled(bool) { }
|
| - static bool {{feature.first_lowered_name}}Enabled() { return false; }
|
| -#endif
|
| - {% endif %}
|
|
|
| {% endif %}
|
| {% endfor %}
|
|
|