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 b3af2ed7e9203192ae38ab52071622824df56cfa..661356fdc1b58ff0d121b19919aea216c45ea89d 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
@@ -1304,7 +1304,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); |
@@ -1337,7 +1337,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); |