Index: Source/core/css/CSSValueList.cpp |
diff --git a/Source/core/css/CSSValueList.cpp b/Source/core/css/CSSValueList.cpp |
index cd59514bf950642a323a3d95c17e912aba433dd6..9ff9d8741b0f3a92ffe5554e204cc99bfed087f5 100644 |
--- a/Source/core/css/CSSValueList.cpp |
+++ b/Source/core/css/CSSValueList.cpp |
@@ -38,7 +38,7 @@ CSSValueList::CSSValueList(ValueListSeparator listSeparator) |
m_valueListSeparator = listSeparator; |
} |
-bool CSSValueList::removeAll(CSSValue val) |
+bool CSSValueList::removeAll(const CSSValue& val) |
{ |
bool found = false; |
for (int index = m_values.size() - 1; index >= 0; --index) { |
@@ -52,7 +52,7 @@ bool CSSValueList::removeAll(CSSValue val) |
return found; |
} |
-bool CSSValueList::hasValue(CSSValue val) const |
+bool CSSValueList::hasValue(const CSSValue& val) const |
{ |
for (size_t index = 0; index < m_values.size(); index++) { |
const CSSValue& value = m_values.at(index); |