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

Unified Diff: Source/core/dom/WheelController.cpp

Issue 234913005: Refactor wheel event handler registration in ScrollingCoordinator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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: Source/core/dom/WheelController.cpp
diff --git a/Source/core/dom/WheelController.cpp b/Source/core/dom/WheelController.cpp
index 85b3c473e34ff8ab52a1fabd8771d7c25c06d546..04310f2d21290b425948edf531d3c819a7cd8b37 100644
--- a/Source/core/dom/WheelController.cpp
+++ b/Source/core/dom/WheelController.cpp
@@ -69,11 +69,7 @@ static void wheelEventHandlerCountChanged(Document& document)
if (!scrollingCoordinator)
return;
- FrameView* frameView = document.view();
- if (!frameView)
- return;
-
- scrollingCoordinator->frameViewWheelEventHandlerCountChanged(frameView);
+ scrollingCoordinator->haveWheelEventHandlersChangedForPage();
abarth-chromium 2014/04/11 18:53:38 didChangeWheelEventHandlers() ?
}
void WheelController::didAddWheelEventHandler(Document& document)
« no previous file with comments | « no previous file | Source/core/page/scrolling/ScrollingCoordinator.h » ('j') | Source/core/page/scrolling/ScrollingCoordinator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698