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

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

Issue 311903002: Remove dead notification for number of wheel event handlers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another try. Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/core/frame/LocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | Source/core/frame/LocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698