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 b552329352a7717d35dd4719d6feee2735348354..28189d161a75b15ded83ca2ad21523dbb52baf20 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/EventFactory.cpp.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/EventFactory.cpp.tmpl |
@@ -16,7 +16,7 @@ namespace blink { |
{{namespace}}* {{namespace}}{{suffix}}Factory::Create(ExecutionContext* executionContext, const String& type) { |
{% for event in events if event|script_name|create_event_whitelist or event|script_name|create_event_measure_whitelist %} |
{% if event|script_name|create_event_whitelist or event|script_name|create_event_measure_whitelist %} |
- if (EqualIgnoringCase(type, "{{event|script_name}}"){% if event.RuntimeEnabled %} && RuntimeEnabledFeatures::{{event.RuntimeEnabled|lower_first}}(){% endif %}) { |
+ if (DeprecatedEqualIgnoringCase(type, "{{event|script_name}}"){% if event.RuntimeEnabled %} && RuntimeEnabledFeatures::{{event.RuntimeEnabled|lower_first}}(){% endif %}) { |
{% else %} |
if (type == "{{event|script_name}}"{% if event.RuntimeEnabled %} && RuntimeEnabledFeatures::{{event.RuntimeEnabled|lower_first}}(){% endif %}) { |
{% endif %} |