| Index: third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp b/third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp
|
| index a83a6ab9899862308656fa0ac78d2b480c61a86e..2bbd43b88094242c89b4fb7af9e302e4be0bf39b 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp
|
| @@ -85,7 +85,7 @@ bool WorkerEventQueue::removeEvent(Event* event) {
|
| auto found = m_pendingEvents.find(event);
|
| if (found == m_pendingEvents.end())
|
| return false;
|
| - m_pendingEvents.remove(found);
|
| + m_pendingEvents.erase(found);
|
| return true;
|
| }
|
|
|
|
|