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

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

Issue 2826653002: Generate getters/setters for some fields on groups in ComputedStyle (Closed)
Patch Set: Add new macro argument_type to be used in setter macros 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/primitive.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/primitive.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/primitive.tmpl
index 30519afea580157ffaf8c1a0472fe21342c47fca..800eb98d0aa219ab611b34f297f4ee29ac03c49e 100644
--- a/third_party/WebKit/Source/build/scripts/templates/fields/primitive.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/fields/primitive.tmpl
@@ -1,4 +1,6 @@
{% import 'fields/base.tmpl' as base %}
-{% macro decl_methods(field) -%}
-{{ base.decl_methods(field) }}
+{% macro decl_public_methods(field) -%}
+{{ base.decl_public_methods(field) }}
+{%- endmacro %}
+{% macro decl_protected_methods(field) -%}
{%- endmacro %}

Powered by Google App Engine
This is Rietveld 408576698