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

Unified Diff: Source/build/scripts/templates/StylePropertyShorthand.h.tmpl

Issue 371443003: Merge .in files for css/svg properties into a single file (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cascade
Patch Set: up-to-date version of entire patch Created 6 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
« no previous file with comments | « Source/build/scripts/templates/StylePropertyShorthand.cpp.tmpl ('k') | Source/core/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/templates/StylePropertyShorthand.h.tmpl
diff --git a/Source/build/scripts/templates/StylePropertyShorthand.h.tmpl b/Source/build/scripts/templates/StylePropertyShorthand.h.tmpl
index 5f058e2d6f195559c8267a1d44881a92c410ae5c..12e0a313e4d43ffbb66ba7100670c9ba43138b32 100644
--- a/Source/build/scripts/templates/StylePropertyShorthand.h.tmpl
+++ b/Source/build/scripts/templates/StylePropertyShorthand.h.tmpl
@@ -67,8 +67,7 @@ private:
};
{% for property_id, property in properties.items() %}
-{% set camel_case_name = property.camel_case_name %}
-const StylePropertyShorthand& {{camel_case_name}}Shorthand();
+const StylePropertyShorthand& {{property.lower_camel_name}}Shorthand();
{% endfor %}
// Returns an empty list if the property is not a shorthand, otherwise the list of longhands for parsing.
« no previous file with comments | « Source/build/scripts/templates/StylePropertyShorthand.cpp.tmpl ('k') | Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698