Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1397)

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners
Patch Set: Move to having fields on WebLayerTreeView Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698