| Index: third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
|
| index a5f42bc3b17726e6b157ddf5a78b6b2ca5453bfd..cd8f8e03bd28db41bb661536c214a576ccf24c79 100644
|
| --- a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
|
| @@ -102,7 +102,7 @@ void CSSSelectorWatch::updateSelectorMatches(
|
| shouldUpdateTimer = true;
|
| auto it = m_addedSelectors.find(selector);
|
| if (it != m_addedSelectors.end())
|
| - m_addedSelectors.remove(it);
|
| + m_addedSelectors.erase(it);
|
| else
|
| m_removedSelectors.insert(selector);
|
| }
|
| @@ -116,7 +116,7 @@ void CSSSelectorWatch::updateSelectorMatches(
|
| shouldUpdateTimer = true;
|
| auto it = m_removedSelectors.find(selector);
|
| if (it != m_removedSelectors.end())
|
| - m_removedSelectors.remove(it);
|
| + m_removedSelectors.erase(it);
|
| else
|
| m_addedSelectors.insert(selector);
|
| }
|
|
|