| Index: Source/core/frame/EventHandlerRegistry.cpp
|
| diff --git a/Source/core/frame/EventHandlerRegistry.cpp b/Source/core/frame/EventHandlerRegistry.cpp
|
| index 3e3d38b5ae39a6dda1ec9f5e59da3fb9f7bd11b5..478ce65904bdb1af7e12f1fe21ad465f5021fc4b 100644
|
| --- a/Source/core/frame/EventHandlerRegistry.cpp
|
| +++ b/Source/core/frame/EventHandlerRegistry.cpp
|
| @@ -157,7 +157,6 @@ void EventHandlerRegistry::updateAllEventHandlers(ChangeOperation op, EventTarge
|
| void EventHandlerRegistry::notifyHasHandlersChanged(EventHandlerClass handlerClass, bool hasActiveHandlers)
|
| {
|
| ScrollingCoordinator* scrollingCoordinator = m_frameHost.page().scrollingCoordinator();
|
| - LocalFrame* mainFrame = m_frameHost.page().mainFrame();
|
|
|
| switch (handlerClass) {
|
| case ScrollEvent:
|
| @@ -165,10 +164,6 @@ void EventHandlerRegistry::notifyHasHandlersChanged(EventHandlerClass handlerCla
|
| scrollingCoordinator->updateHaveScrollEventHandlers();
|
| break;
|
| case WheelEvent:
|
| - if (mainFrame) {
|
| - // FIXME: This notification is wired up to a black hole, so remove it.
|
| - mainFrame->notifyChromeClientWheelEventHandlerCountChanged();
|
| - }
|
| if (scrollingCoordinator)
|
| scrollingCoordinator->updateHaveWheelEventHandlers();
|
| break;
|
|
|