Index: third_party/WebKit/Source/core/dom/Node.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp |
index 89d93e27a4d7a683966ad0258792e67e9d3c0e92..1bbe752ef37c9cb6d08a11745526802aa4fbc092 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -1823,7 +1823,7 @@ bool Node::addEventListenerInternal(const AtomicString& eventType, PassRefPtrWil |
document().addListenerTypeIfNeeded(eventType); |
if (FrameHost* frameHost = document().frameHost()) |
- frameHost->eventHandlerRegistry().didAddEventHandler(*this, eventType); |
+ frameHost->eventHandlerRegistry().didAddEventHandler(*this, eventType, options); |
return true; |
} |
@@ -1836,7 +1836,7 @@ bool Node::removeEventListenerInternal(const AtomicString& eventType, PassRefPtr |
// FIXME: Notify Document that the listener has vanished. We need to keep track of a number of |
// listeners for each type, not just a bool - see https://bugs.webkit.org/show_bug.cgi?id=33861 |
if (FrameHost* frameHost = document().frameHost()) |
- frameHost->eventHandlerRegistry().didRemoveEventHandler(*this, eventType); |
+ frameHost->eventHandlerRegistry().didRemoveEventHandler(*this, eventType, options); |
return true; |
} |