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

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

Issue 1310073003: Fix _first_enum_value usage on make_css_property_names.py (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/build/scripts/css_properties.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/make_css_property_names.py
diff --git a/Source/build/scripts/make_css_property_names.py b/Source/build/scripts/make_css_property_names.py
index 4a591d3c7a371d8485fe9a4c411f33dab183123c..e733c25dd494488483ed06386ab5c0d0eb0b6cd9 100755
--- a/Source/build/scripts/make_css_property_names.py
+++ b/Source/build/scripts/make_css_property_names.py
@@ -203,7 +203,7 @@ class CSSPropertyNamesWriter(css_properties.CSSProperties):
property_offsets = []
property_names = []
current_offset = 0
- for enum_value in range(1, max(enum_value_to_name) + 1):
+ for enum_value in range(self._first_enum_value, max(enum_value_to_name) + 1):
property_offsets.append(current_offset)
if enum_value in enum_value_to_name:
name = enum_value_to_name[enum_value]
« no previous file with comments | « Source/build/scripts/css_properties.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698