| Index: third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp b/third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp
|
| index 8ab4f5fb6144745ae7809524cd76ec93db10e5fb..dbcdfd9b07694cccc27ece60f74bb71ce638f09f 100644
|
| --- a/third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp
|
| @@ -43,7 +43,7 @@ void IdTargetObserverRegistry::addObserver(const AtomicString& id,
|
| if (id.isEmpty())
|
| return;
|
|
|
| - IdToObserverSetMap::AddResult result = m_registry.add(id.impl(), nullptr);
|
| + IdToObserverSetMap::AddResult result = m_registry.insert(id.impl(), nullptr);
|
| if (result.isNewEntry)
|
| result.storedValue->value = new ObserverSet();
|
|
|
|
|