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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/fields/base.tmpl

Issue 2855583002: Fix ComputedStyleBase.h.tmpl to generate accessors for fields on groups (Closed)
Patch Set: Rebase Created 3 years, 8 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/templates/fields/base.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/base.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/base.tmpl
index ed8fb52edc3f13dfcbc4df70ed122655aeaba219..6fc0ffbf319af76a388f1156dd29730cfc595cda 100644
--- a/third_party/WebKit/Source/build/scripts/templates/fields/base.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/fields/base.tmpl
@@ -25,8 +25,8 @@ inline void {{field.resetter_method_name}}() {
{%- endmacro %}
{% macro decl_mutable_method(field) -%}
-{{nonconst_ref(field)}} {{field.mutable_method_name}}() const {
- return {{decode(field, getter_expression(field))}};
+{{nonconst_ref(field)}} {{field.internal_mutable_method_name}}() {
+ return {{decode(field, setter_expression(field))}};
}
{%- endmacro %}

Powered by Google App Engine
This is Rietveld 408576698