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

Unified Diff: Source/core/css/CSSValueList.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 | « Source/core/css/CSSValueList.h ('k') | Source/core/css/LayoutStyleCSSValueMapping.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSValueList.cpp
diff --git a/Source/core/css/CSSValueList.cpp b/Source/core/css/CSSValueList.cpp
index eb181f646f014e4a1f3cb06a12d654942f0f7b35..08d4e165620f856d4400f328fdae8dc393bbd5f6 100644
--- a/Source/core/css/CSSValueList.cpp
+++ b/Source/core/css/CSSValueList.cpp
@@ -116,15 +116,6 @@ bool CSSValueList::equals(const CSSValueList& other) const
return m_valueListSeparator == other.m_valueListSeparator && compareCSSValueVector(m_values, other.m_values);
}
-bool CSSValueList::equals(const CSSValue& other) const
-{
- if (m_values.size() != 1)
- return false;
-
- const RefPtrWillBeMember<CSSValue>& value = m_values[0];
- return value && value->equals(other);
-}
-
bool CSSValueList::hasFailedOrCanceledSubresources() const
{
for (unsigned i = 0; i < m_values.size(); ++i) {
« no previous file with comments | « Source/core/css/CSSValueList.h ('k') | Source/core/css/LayoutStyleCSSValueMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698