Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 2add1aad732196d33bc1e784553a03c8878c3438..efe1b1a6c9c82c9522966d8bd23448efdcb59cc0 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -33,7 +33,7 @@ |
#include "RuntimeEnabledFeatures.h" |
#include "bindings/v8/ScriptController.h" |
#include "core/dom/DocumentType.h" |
-#include "core/dom/WheelController.h" |
+#include "core/dom/EventHandlerRegistry.h" |
#include "core/editing/Editor.h" |
#include "core/editing/FrameSelection.h" |
#include "core/editing/InputMethodController.h" |
@@ -504,7 +504,7 @@ void LocalFrame::notifyChromeClientWheelEventHandlerCountChanged() const |
unsigned count = 0; |
for (const LocalFrame* frame = this; frame; frame = frame->tree().traverseNext()) { |
if (frame->document()) |
- count += WheelController::from(*frame->document())->wheelEventHandlerCount(); |
+ count += EventHandlerRegistry::from(*frame->document())->wheelEventHandlerCount(); |
} |
m_host->chrome().client().numWheelEventHandlersChanged(count); |