| Index: third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp
|
| index cd167b1a8e21fd7a82fac1686d64d6862b90f366..e5b2392656b9b51e6ebe5048457ad5b56642541a 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp
|
| @@ -35,7 +35,7 @@ CompositorMutableStateProvider::getMutableStateFor(uint64_t elementId) {
|
| // Ensure that we have an entry in the map for |elementId| but do as few
|
| // allocations and queries as possible. This will update the map only if we
|
| // have not added a value for |elementId|.
|
| - auto result = m_mutations->map.add(elementId, nullptr);
|
| + auto result = m_mutations->map.insert(elementId, nullptr);
|
|
|
| // Only if this is a new entry do we want to allocate a new mutation.
|
| if (result.isNewEntry)
|
|
|