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

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

Issue 410953002: Merge CSSProperties.in and CSSShorthands.in (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@infiles
Patch Set: Created 6 years, 4 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 8760c4373f7635aa3f63e7c3f51e8695111586f4..4a7a6ed0f36fc1796e9151e8c4f5c587d18cc117 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