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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
index eac486e780f17b6797abf8e05478a02b0de39fc8..9e6672465511eb4ba8ab3d079ed680d821684127 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
@@ -304,7 +304,7 @@ void DOMWrapperWorld::registerDOMObjectHolderInternal(
ASSERT(!m_domObjectHolders.contains(holderBase.get()));
holderBase->setWorld(this);
holderBase->setWeak(&DOMWrapperWorld::weakCallbackForDOMObjectHolder);
- m_domObjectHolders.add(std::move(holderBase));
+ m_domObjectHolders.insert(std::move(holderBase));
}
void DOMWrapperWorld::unregisterDOMObjectHolder(
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698