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

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

Issue 2574063002: Made -webkit-box-direction property independent. (Closed)
Patch Set: Created 4 years 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_computed_style_base.py
diff --git a/third_party/WebKit/Source/build/scripts/make_computed_style_base.py b/third_party/WebKit/Source/build/scripts/make_computed_style_base.py
index b88d41328eb3194fe1659a7d2566d996da9eeb33..6bda8f46625533ee1374a55a89fb66d2c5b6b523 100755
--- a/third_party/WebKit/Source/build/scripts/make_computed_style_base.py
+++ b/third_party/WebKit/Source/build/scripts/make_computed_style_base.py
@@ -88,7 +88,7 @@ class ComputedStyleBaseWriter(make_style_builder.StyleBuilderWriter):
self._fields = []
for property in self._properties.values():
if property['keyword_only']:
- property_name = property['upper_camel_name']
+ property_name = property['name_for_methods']
if property['name_for_methods']:
property_name = property['name_for_methods']
property_name_lower = property_name[0].lower() + property_name[1:]
@@ -106,7 +106,7 @@ class ComputedStyleBaseWriter(make_style_builder.StyleBuilderWriter):
# If the property is independent, add the single-bit sized isInherited flag
# to the list of Fields as well.
if property['independent']:
- field_name_suffix_upper = property['upper_camel_name'] + 'IsInherited'
+ field_name_suffix_upper = property['name_for_methods'] + 'IsInherited'
field_name_suffix_lower = property_name_lower + 'IsInherited'
self._fields.append(Field(
'inherited_flag',

Powered by Google App Engine
This is Rietveld 408576698