| Index: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
|
| index 6ccb2d97cb182cf8f6976a43dfdde6033ce2f54a..3650b57b377e997aa538312a30b3365e9ab23860 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
|
| @@ -98,7 +98,7 @@ PassRefPtr<CSSVariableData> CSSVariableResolver::resolveCustomProperty(
|
| bool success =
|
| resolveTokenRange(variableData.tokens(), disallowAnimationTainted, tokens,
|
| isAnimationTainted);
|
| - m_variablesSeen.remove(name);
|
| + m_variablesSeen.erase(name);
|
|
|
| // The old variable data holds onto the backing string the new resolved
|
| // CSSVariableData relies on. Ensure it will live beyond us overwriting the
|
| @@ -106,7 +106,7 @@ PassRefPtr<CSSVariableData> CSSVariableResolver::resolveCustomProperty(
|
| ASSERT(variableData.refCount() > 1);
|
|
|
| if (!success || !m_cycleStartPoints.isEmpty()) {
|
| - m_cycleStartPoints.remove(name);
|
| + m_cycleStartPoints.erase(name);
|
| return nullptr;
|
| }
|
| return CSSVariableData::createResolved(tokens, variableData,
|
|
|