| 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 1df010446c2c8038df77d663796efb48ef3937b8..93b8fe3cc78ed0da57fb14fa11e1febd690b3c9a 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();
|
|
|
|
|