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

Unified Diff: Source/core/css/CSSCalculationValue.cpp

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ToTed Created 5 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
Index: Source/core/css/CSSCalculationValue.cpp
diff --git a/Source/core/css/CSSCalculationValue.cpp b/Source/core/css/CSSCalculationValue.cpp
index 578118e9d24c4b51d511a3b305e492dd47616f80..8b2015e6071b14345066d83a8d0ee9133f67d7b5 100644
--- a/Source/core/css/CSSCalculationValue.cpp
+++ b/Source/core/css/CSSCalculationValue.cpp
@@ -136,6 +136,7 @@ static bool hasDoubleValue(CSSPrimitiveValue::UnitType type)
case CSSPrimitiveValue::UnitType::PropertyID:
case CSSPrimitiveValue::UnitType::ValueID:
case CSSPrimitiveValue::UnitType::QuirkyEms:
+ case CSSPrimitiveValue::UnitType::VariableReference:
return false;
};
ASSERT_NOT_REACHED();

Powered by Google App Engine
This is Rietveld 408576698