| Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| index 4bfc858737148965b269d08f597bc18aed61a566..4adddad3c11cd8da19bd3eb3de8c3912566529d3 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -1295,7 +1295,7 @@ bool LocalDOMWindow::addEventListenerInternal(const AtomicString& eventType, Pas
|
| return false;
|
|
|
| if (frame() && frame()->host())
|
| - frame()->host()->eventHandlerRegistry().didAddEventHandler(*this, eventType);
|
| + frame()->host()->eventHandlerRegistry().didAddEventHandler(*this, eventType, options);
|
|
|
| if (Document* document = this->document()) {
|
| document->addListenerTypeIfNeeded(eventType);
|
| @@ -1328,7 +1328,7 @@ bool LocalDOMWindow::removeEventListenerInternal(const AtomicString& eventType,
|
| return false;
|
|
|
| if (frame() && frame()->host())
|
| - frame()->host()->eventHandlerRegistry().didRemoveEventHandler(*this, eventType);
|
| + frame()->host()->eventHandlerRegistry().didRemoveEventHandler(*this, eventType, options);
|
|
|
| notifyRemoveEventListener(this, eventType);
|
|
|
|
|