| Index: third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
|
| index c1ed8ee0908ca5b3a09ef94eca26a33b4e9364b8..98f76d48605f8313e04c77b81d2a586acdf2aa75 100644
|
| --- a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
|
| @@ -103,7 +103,7 @@ bool EventHandlerRegistry::updateEventHandlerTargets(
|
| return false;
|
| targets->removeAll(target);
|
| } else {
|
| - if (!targets->remove(target)) {
|
| + if (!targets->erase(target)) {
|
| // Just decremented refcount, no real update.
|
| return false;
|
| }
|
|
|