| 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 c275d460bcd2ebb800dcd3c08d518d82d5d1f48f..c42ceffc71f85d41876980657e66e9975b7114e8 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
|
| @@ -168,7 +168,7 @@ void DOMWrapperWorld::dispose() {
|
| m_domObjectHolders.clear();
|
| m_domDataStore.reset();
|
| DCHECK(worldMap().contains(m_worldId));
|
| - worldMap().remove(m_worldId);
|
| + worldMap().erase(m_worldId);
|
| }
|
|
|
| PassRefPtr<DOMWrapperWorld> DOMWrapperWorld::ensureIsolatedWorld(
|
| @@ -209,7 +209,7 @@ void DOMWrapperWorld::setIsolatedWorldSecurityOrigin(
|
| if (securityOrigin)
|
| isolatedWorldSecurityOrigins().set(worldId, std::move(securityOrigin));
|
| else
|
| - isolatedWorldSecurityOrigins().remove(worldId);
|
| + isolatedWorldSecurityOrigins().erase(worldId);
|
| }
|
|
|
| typedef HashMap<int, String> IsolatedWorldHumanReadableNameMap;
|
| @@ -254,7 +254,7 @@ void DOMWrapperWorld::setIsolatedWorldContentSecurityPolicy(
|
| if (!policy.isEmpty())
|
| isolatedWorldContentSecurityPolicies().set(worldId, true);
|
| else
|
| - isolatedWorldContentSecurityPolicies().remove(worldId);
|
| + isolatedWorldContentSecurityPolicies().erase(worldId);
|
| }
|
|
|
| template <typename T>
|
|
|