Index: third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp |
index 5b44fee20ebffc50339db4b7f3b6e5e580e76700..a564bde31eb39f8aed33d4fa46cf347424c1f4ed 100644 |
--- a/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp |
@@ -17,7 +17,8 @@ String CSSCustomPropertyDeclaration::customCSSText() const |
{ |
if (m_value) |
return m_value->tokenRange().serialize(); |
- return emptyString(); |
+ DCHECK(m_valueId != CSSValueInternalVariableValue); |
+ return getValueName(m_valueId); |
} |
} // namespace blink |