| Index: Source/core/dom/WheelController.cpp
|
| diff --git a/Source/core/dom/WheelController.cpp b/Source/core/dom/WheelController.cpp
|
| index 85b3c473e34ff8ab52a1fabd8771d7c25c06d546..27d12af8d271e521de81439252cbdcf036399bd6 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->updateHaveWheelEventHandlers();
|
| }
|
|
|
| void WheelController::didAddWheelEventHandler(Document& document)
|
|
|