Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: third_party/WebKit/Source/build/scripts/make_event_factory.py

Issue 2755313002: Fix issue 701381. (Closed)
Patch Set: Update the test result Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/build/scripts/make_event_factory.py
diff --git a/third_party/WebKit/Source/build/scripts/make_event_factory.py b/third_party/WebKit/Source/build/scripts/make_event_factory.py
index c6688f8790e1d8925e3313fc1ee521d4a7001955..bea63b686aeee23bdda55404622ad455207d459e 100755
--- a/third_party/WebKit/Source/build/scripts/make_event_factory.py
+++ b/third_party/WebKit/Source/build/scripts/make_event_factory.py
@@ -63,13 +63,13 @@ def create_event_whitelist(name):
or name == 'TouchEvent')
-# All events on the following whitelist are matched case-sensitively
+# All events on the following whitelist are matched case-insensitively
# in createEvent and are measured using UseCounter.
#
# TODO(foolip): All events on this list should either be added to the spec and
# moved to the above whitelist (causing them to be matched case-insensitively)
# or be deprecated/removed. https://crbug.com/569690
-def create_event_legacy_whitelist(name):
+def create_event_measure_whitelist(name):
return (name == 'AnimationEvent'
or name == 'BeforeUnloadEvent'
or name == 'CloseEvent'
@@ -117,7 +117,7 @@ class EventFactoryWriter(json5_generator.Writer):
'lower_first': name_utilities.lower_first,
'script_name': name_utilities.script_name,
'create_event_whitelist': create_event_whitelist,
- 'create_event_legacy_whitelist': create_event_legacy_whitelist,
+ 'create_event_measure_whitelist': create_event_measure_whitelist,
'measure_name': measure_name,
}

Powered by Google App Engine
This is Rietveld 408576698