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

Unified Diff: Source/build/scripts/make_names.py

Issue 72683003: Auto-generate InputTypeNames source from InputTypeNames.in. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | Source/core/Init.cpp » ('j') | Source/core/html/forms/InputType.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/make_names.py
diff --git a/Source/build/scripts/make_names.py b/Source/build/scripts/make_names.py
index 79a67769a2c85bb439d736fed69d39135882227e..2ba5ec8e68c725c2619f950f1496b8f71dc26f05 100755
--- a/Source/build/scripts/make_names.py
+++ b/Source/build/scripts/make_names.py
@@ -38,7 +38,7 @@ def _symbol(entry):
# FIXME: Remove this special case for the ugly x-webkit-foo attributes.
if entry['name'].startswith('-webkit-'):
return entry['name'].replace('-', '_')[1:]
- return name_utilities.cpp_name(entry)
+ return name_utilities.cpp_name(entry).replace('-', '_')
class MakeNamesWriter(in_generator.Writer):
« no previous file with comments | « no previous file | Source/core/Init.cpp » ('j') | Source/core/html/forms/InputType.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698