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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.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
Index: third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.cpp
index 1023ce29b63a8f2dbfd69de94a488e860cb23170..bb4ef5799541ceee981d360353807279fc834b03 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.cpp
@@ -100,7 +100,7 @@ V0CustomElementDefinition* V0CustomElementRegistry::registerElement(
return 0;
m_definitions.add(descriptor, definition);
- m_registeredTypeNames.add(descriptor.type());
+ m_registeredTypeNames.insert(descriptor.type());
if (!constructorBuilder->didRegisterDefinition()) {
V0CustomElementException::throwException(

Powered by Google App Engine
This is Rietveld 408576698