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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl

Issue 2563853002: Renamed 'type' to 'storage_type' in make_computed_style_base.py (Closed)
Patch Set: Rename 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
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_computed_style_base.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
index 515603c177ad76c367aed96e8c40ad52d7cd4005..b7da448d0987de3e8a3ce7f9056cd1614d5c6b6c 100644
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl
@@ -100,16 +100,16 @@ class CORE_EXPORT ComputedStyleBase {
// use resetFoo(), which can be more efficient.
{% for field in fields %}
// {{field.property_name}}
- inline static {{field.type}} {{field.initial_method_name}}() { return {{field.default_value}}; }
- {{field.type}} {{field.getter_method_name}}() const { return static_cast<{{field.type}}>({{field.name}}); }
- void {{field.setter_method_name}}({{field.type}} v) { {{field.name}} = static_cast<unsigned>(v); }
+ inline static {{field.storage_type}} {{field.initial_method_name}}() { return {{field.default_value}}; }
+ {{field.storage_type}} {{field.getter_method_name}}() const { return static_cast<{{field.storage_type}}>({{field.name}}); }
+ void {{field.setter_method_name}}({{field.storage_type}} v) { {{field.name}} = static_cast<unsigned>(v); }
inline void {{field.resetter_method_name}}() { {{field.name}} = {{default_value(field)}}; }
{% endfor %}
protected:
// Storage.
{% for field in fields %}
- unsigned {{field.name}} : {{field.size}}; // {{field.type}}
+ unsigned {{field.name}} : {{field.size}}; // {{field.storage_type}}
{% endfor %}
};
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_computed_style_base.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698