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

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

Issue 2693933003: Move field-dependent code in ComputedStyleBase to Jinja macros. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1ac90f365ad82d58026ffed9738931176cf8611b..8d6ee0e8207798b52a96b39a89ca1de2cc2a97b4 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
@@ -58,7 +58,7 @@ class Field(object):
'property_name',
# Name of the type (e.g. EClear, int)
'type_name',
- # Affects how the field is generated (keyword, flag)
+ # Affects how the field is generated (keyword, flag, monotonic_flag)
'field_template',
# Bits needed for storage
'size',
@@ -212,7 +212,7 @@ def _create_nonproperty_field(field_name):
name=member_name,
property_name=field_name,
type_name='bool',
- field_template='flag',
+ field_template='monotonic_flag',
size=1,
default_value='false',
getter_method_name=field_name,
« no previous file with comments | « no previous file | third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698