| Index: Source/core/css/StylePropertySet.cpp
|
| diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp
|
| index 8df65b850b2c61cd7b3fc2056dc228650bf3e486..d084e31c9b4487f0651b084f376a15fdaee477a4 100644
|
| --- a/Source/core/css/StylePropertySet.cpp
|
| +++ b/Source/core/css/StylePropertySet.cpp
|
| @@ -138,7 +138,7 @@ String StylePropertySet::variableValue(const AtomicString& name) const
|
| {
|
| ASSERT(RuntimeEnabledFeatures::cssVariablesEnabled());
|
| size_t index = findVariableIndex(name);
|
| - if (index == notFound)
|
| + if (index == kNotFound)
|
| return String();
|
| return toCSSVariableValue(propertyAt(index).value())->value();
|
| }
|
| @@ -284,14 +284,14 @@ bool MutableStylePropertySet::setVariableValue(const AtomicString& name, const S
|
| return removeVariable(name);
|
|
|
| size_t index = findVariableIndex(name);
|
| - if (index != notFound) {
|
| + if (index != kNotFound) {
|
| CSSValue* cssValue = m_propertyVector.at(index).value();
|
| if (toCSSVariableValue(cssValue)->value() == value)
|
| return false;
|
| }
|
|
|
| CSSProperty property(CSSPropertyVariable, CSSVariableValue::create(name, value), important);
|
| - if (index == notFound)
|
| + if (index == kNotFound)
|
| m_propertyVector.append(property);
|
| else
|
| m_propertyVector.at(index) = property;
|
| @@ -498,7 +498,7 @@ size_t StylePropertySet::findVariableIndex(const AtomicString& name) const
|
| if (property.id() == CSSPropertyVariable && toCSSVariableValue(property.value())->name() == name)
|
| return i;
|
| }
|
| - return notFound;
|
| + return kNotFound;
|
| }
|
|
|
| CSSProperty* MutableStylePropertySet::findCSSPropertyWithID(CSSPropertyID propertyID)
|
| @@ -549,7 +549,7 @@ bool MutableStylePropertySet::removeVariable(const AtomicString& name)
|
| {
|
| ASSERT(RuntimeEnabledFeatures::cssVariablesEnabled());
|
| size_t index = findVariableIndex(name);
|
| - if (index == notFound)
|
| + if (index == kNotFound)
|
| return false;
|
| m_propertyVector.remove(index);
|
| return true;
|
|
|