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

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

Issue 1007253006: Remove CSSValueList::equals(const CSSValue&) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | Source/core/css/CSSValueList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | Source/core/css/CSSValueList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698