Index: Source/core/css/CSSValueList.cpp |
diff --git a/Source/core/css/CSSValueList.cpp b/Source/core/css/CSSValueList.cpp |
index 1648f677020881dc368a930580cff5b98daf4748..6a7cafd9be1ca248fc9dcce65dbf3188dcb54c17 100644 |
--- a/Source/core/css/CSSValueList.cpp |
+++ b/Source/core/css/CSSValueList.cpp |
@@ -29,13 +29,13 @@ namespace blink { |
CSSValueList::CSSValueList(ClassType classType, ValueListSeparator listSeparator) |
: CSSValue(classType) |
{ |
- m_valueListSeparator = listSeparator; |
+ setValueListSeparator(listSeparator); |
} |
CSSValueList::CSSValueList(ValueListSeparator listSeparator) |
: CSSValue(ValueListClass) |
{ |
- m_valueListSeparator = listSeparator; |
+ setValueListSeparator(listSeparator); |
} |
bool CSSValueList::removeAll(CSSValue* val) |
@@ -65,7 +65,7 @@ bool CSSValueList::hasValue(CSSValue* val) const |
PassRefPtrWillBeRawPtr<CSSValueList> CSSValueList::copy() |
{ |
RefPtrWillBeRawPtr<CSSValueList> newList = nullptr; |
- switch (m_valueListSeparator) { |
+ switch (valueListSeparator()) { |
case SpaceSeparator: |
newList = createSpaceSeparated(); |
break; |
@@ -87,7 +87,7 @@ String CSSValueList::customCSSText() const |
{ |
StringBuilder result; |
String separator; |
- switch (m_valueListSeparator) { |
+ switch (valueListSeparator()) { |
case SpaceSeparator: |
separator = " "; |
break; |
@@ -113,7 +113,7 @@ String CSSValueList::customCSSText() const |
bool CSSValueList::equals(const CSSValueList& other) const |
{ |
- return m_valueListSeparator == other.m_valueListSeparator && compareCSSValueVector(m_values, other.m_values); |
+ return valueListSeparator() == other.valueListSeparator() && compareCSSValueVector(m_values, other.m_values); |
} |
bool CSSValueList::hasFailedOrCanceledSubresources() const |