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

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

Issue 1639363002: Move have_wheel_event_handlers to WebLayerTreeView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove blank line 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/EventHandlerRegistry.cpp
diff --git a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
index 292ff13d9f96c13643d93ded6f52a55f1015465b..2ce0f9e62096f4626b0e6e3aad70a93cbb05a348 100644
--- a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
+++ b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp
@@ -203,8 +203,7 @@ void EventHandlerRegistry::notifyHasHandlersChanged(EventHandlerClass handlerCla
scrollingCoordinator->updateHaveScrollEventHandlers();
break;
case WheelEvent:
- if (scrollingCoordinator)
- scrollingCoordinator->updateHaveWheelEventHandlers();
+ m_frameHost->chromeClient().setHaveWheelEventHandlers(hasActiveHandlers);
break;
case TouchEvent:
m_frameHost->chromeClient().needTouchEvents(hasActiveHandlers);

Powered by Google App Engine
This is Rietveld 408576698