Index: Source/core/css/CSSValue.cpp |
diff --git a/Source/core/css/CSSValue.cpp b/Source/core/css/CSSValue.cpp |
index ff7445ca1d7508bc289eb98f84af56404f02fc46..a3c96db05b0203ec69b6b3a128344667f75250f9 100644 |
--- a/Source/core/css/CSSValue.cpp |
+++ b/Source/core/css/CSSValue.cpp |
@@ -157,10 +157,7 @@ bool CSSValue::equals(const CSSValue& other) const |
ASSERT_NOT_REACHED(); |
return false; |
} |
- } else if (m_classType == ValueListClass && other.m_classType != ValueListClass) |
- return toCSSValueList(this)->equals(other); |
- else if (m_classType != ValueListClass && other.m_classType == ValueListClass) |
- return static_cast<const CSSValueList&>(other).equals(*this); |
+ } |
return false; |
} |