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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use m_unit Created 5 years, 1 month 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/StyleBuilder.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
index 537baf0b6fbde46856c5466803673ba1d85315a2..6e7582a6a51dbde04b5e5d371f47fed886665e8d 100644
--- a/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
@@ -29,6 +29,10 @@ void StyleBuilder::applyProperty(CSSPropertyID property, StyleResolverState& sta
return;
{% endfor %}
+ case CSSPropertyVariable:
+ ASSERT(!isInitial && !isInherit);
+ StyleBuilderFunctions::applyValueCSSPropertyVariable(state, value);
+ return;
{% for property_id, property in properties.items() if property.direction_aware %}
case {{property_id}}:
{% endfor %}

Powered by Google App Engine
This is Rietveld 408576698