Index: third_party/WebKit/Source/core/css/CSSValueList.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSValueList.cpp b/third_party/WebKit/Source/core/css/CSSValueList.cpp |
index c00c5bbb34479df87ee436da841ea10df259423a..a95f27fdcdb9942a940019b73ec8cb76b674c48f 100644 |
--- a/third_party/WebKit/Source/core/css/CSSValueList.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSValueList.cpp |
@@ -42,7 +42,7 @@ bool CSSValueList::removeAll(const CSSValue& val) |
{ |
bool found = false; |
for (int index = m_values.size() - 1; index >= 0; --index) { |
- Member<CSSValue>& value = m_values.at(index); |
+ Member<const CSSValue>& value = m_values.at(index); |
if (value && value->equals(val)) { |
m_values.remove(index); |
found = true; |
@@ -55,7 +55,7 @@ bool CSSValueList::removeAll(const CSSValue& val) |
bool CSSValueList::hasValue(const CSSValue& val) const |
{ |
for (size_t index = 0; index < m_values.size(); index++) { |
- const Member<CSSValue>& value = m_values.at(index); |
+ const Member<const CSSValue>& value = m_values.at(index); |
if (value && value->equals(val)) |
return true; |
} |