| Index: third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp
|
| index 79d0833ee1e25304810a47337e59fcbefccc983a..245c52da9a70e30750aa65b123abb30a5331af17 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp
|
| @@ -238,7 +238,7 @@ bool CustomElementRegistry::nameIsDefined(const AtomicString& name) const {
|
| }
|
|
|
| void CustomElementRegistry::entangle(V0CustomElementRegistrationContext* v0) {
|
| - m_v0->add(v0);
|
| + m_v0->insert(v0);
|
| v0->setV1(this);
|
| }
|
|
|
| @@ -267,7 +267,7 @@ void CustomElementRegistry::addCandidate(Element* candidate) {
|
| set = m_upgradeCandidates->add(name, new UpgradeCandidateSet())
|
| .storedValue->value;
|
| }
|
| - set->add(candidate);
|
| + set->insert(candidate);
|
| }
|
|
|
| // https://html.spec.whatwg.org/multipage/scripting.html#dom-customelementsregistry-whendefined
|
|
|