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

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

Issue 2117143003: Add a fast-path for independent inherited properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@computedstyle_cleanup_rename_final_member_fields
Patch Set: Added useful sizeof check comment Created 4 years, 5 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_style_builder.py
diff --git a/third_party/WebKit/Source/build/scripts/make_style_builder.py b/third_party/WebKit/Source/build/scripts/make_style_builder.py
index c5d5ca546fc202edd8a63c419f2ee7153b0b3ba1..4e6e473062504555133dac313cef69b6d4f37396 100755
--- a/third_party/WebKit/Source/build/scripts/make_style_builder.py
+++ b/third_party/WebKit/Source/build/scripts/make_style_builder.py
@@ -59,6 +59,7 @@ class StyleBuilderWriter(css_properties.CSSProperties):
set_if_none(property, 'type_name', 'E' + name)
set_if_none(property, 'getter', lower_first(name) if simple_type_name != name else 'get' + name)
set_if_none(property, 'setter', 'set' + name)
+ set_if_none(property, 'isInheritedSetter', 'set' + name + 'IsInherited')
esprehn 2016/07/19 03:46:26 is_inherited_setter, the rest of the names here ar
set_if_none(property, 'initial', 'initial' + name)
if property['custom_all']:
property['custom_initial'] = True

Powered by Google App Engine
This is Rietveld 408576698