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

Unified Diff: Source/core/css/CSSPrimitiveValueMappings.h

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/CSSPrimitiveValueMappings.h
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h
index 7d72d61fa55071727bea5515ae2a92bd3a4b75c7..7ae6c868d5774cc38b47a97e86c6b79fbf55a9b5 100644
--- a/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/Source/core/css/CSSPrimitiveValueMappings.h
@@ -148,7 +148,7 @@ template<> inline CSSPrimitiveValue::CSSPrimitiveValue(CSSReflectionDirection e)
template<> inline CSSPrimitiveValue::operator CSSReflectionDirection() const
{
- ASSERT(isValueID());
+ ASSERT(isValueID() || isVariableReference());
switch (m_value.valueID) {
case CSSValueAbove:
return ReflectionAbove;

Powered by Google App Engine
This is Rietveld 408576698