| Index: third_party/WebKit/Source/build/scripts/templates/ExperimentalFeatures.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/ExperimentalFeatures.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/ExperimentalFeatures.cpp.tmpl
|
| deleted file mode 100644
|
| index cd5c417ffc93a430833863169bfc146da46d45de..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/build/scripts/templates/ExperimentalFeatures.cpp.tmpl
|
| +++ /dev/null
|
| @@ -1,37 +0,0 @@
|
| -{% from 'macros.tmpl' import license %}
|
| -{{license()}}
|
| -
|
| -#include "core/experiments/ExperimentalFeatures.h"
|
| -
|
| -#include "core/experiments/Experiments.h"
|
| -#include "platform/RuntimeEnabledFeatures.h"
|
| -
|
| -namespace blink {
|
| -{% for feature in features %}
|
| -{% if feature.api_name %}
|
| -
|
| -// static
|
| -bool ExperimentalFeatures::{{feature.first_lowered_name}}Enabled(ExecutionContext* executionContext, String& errorMessage) {
|
| - return {{feature.first_lowered_name}}EnabledImpl(executionContext, &errorMessage);
|
| -}
|
| -
|
| -// static
|
| -bool ExperimentalFeatures::{{feature.first_lowered_name}}Enabled(ExecutionContext* executionContext) {
|
| - return {{feature.first_lowered_name}}EnabledImpl(executionContext, nullptr);
|
| -}
|
| -{% endif %}
|
| -{% endfor %}
|
| -
|
| -{% for feature in features %}
|
| -{% if feature.api_name %}
|
| -
|
| -// static
|
| -bool ExperimentalFeatures::{{feature.first_lowered_name}}EnabledImpl(ExecutionContext* executionContext, String* errorMessage) {
|
| - if (RuntimeEnabledFeatures::{{feature.first_lowered_name}}Enabled())
|
| - return true;
|
| - return Experiments::isApiEnabled(executionContext, "{{feature.api_name}}", errorMessage);
|
| -}
|
| -{% endif %}
|
| -{% endfor %}
|
| -
|
| -} // namespace blink
|
|
|