Index: third_party/WebKit/Source/build/scripts/templates/EventFactory.cpp.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/EventFactory.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/EventFactory.cpp.tmpl |
index cd9f0a97b1dfc5c745dec367497820f1edb3d840..fa0067d08bb041f32e1c3299eda56213fbc6fb7b 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/EventFactory.cpp.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/EventFactory.cpp.tmpl |
@@ -22,12 +22,8 @@ namespace blink { |
if (type == "{{event|script_name}}"{% if event.RuntimeEnabled %} && RuntimeEnabledFeatures::{{event.RuntimeEnabled|lower_first}}(){% endif %}) { |
{% endif %} |
{% if not event|script_name|create_event_whitelist %} |
- {% if event|script_name|create_event_deprecate_list %} |
- Deprecation::countDeprecation(executionContext, UseCounter::{{event|script_name|deprecate_name}}); |
- {% else %} |
UseCounter::count(executionContext, UseCounter::{{event|script_name|measure_name}}); |
{% endif %} |
- {% endif %} |
return {{event|cpp_name}}::create(); |
} |
{% endfor %} |