Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1021)

Unified Diff: third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp

Issue 2796163002: Migrate WTF::HashCountedSet::add() to ::insert() (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0a7498d003013201345e63dd630e67886c63cd5a..7e57b4bfdfaff2e27749618210b543c3f8757c63 100644
--- a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
+++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
@@ -109,7 +109,7 @@ void CSSSelectorWatch::updateSelectorMatches(
for (const auto& selector : addedSelectors) {
HashCountedSet<String>::AddResult result =
- m_matchingCallbackSelectors.add(selector);
+ m_matchingCallbackSelectors.insert(selector);
if (!result.isNewEntry)
continue;

Powered by Google App Engine
This is Rietveld 408576698