| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index f312c9065ea572bb4fa5ec9c5ff465903a591a6a..7c846651ecea6cab7fba6af39e7732aa903708e0 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -64,7 +64,6 @@
|
| #include "core/dom/StaticNodeList.h"
|
| #include "core/dom/TreeScope.h"
|
| #include "core/dom/ViewportDescription.h"
|
| -#include "core/dom/WheelController.h"
|
| #include "core/dom/shadow/ComposedTreeWalker.h"
|
| #include "core/dom/shadow/ElementShadow.h"
|
| #include "core/dom/shadow/SelectRuleFeatureSet.h"
|
| @@ -1269,7 +1268,7 @@ unsigned Internals::wheelEventHandlerCount(Document* document, ExceptionState& e
|
| return 0;
|
| }
|
|
|
| - return WheelController::from(*document)->wheelEventHandlerCount();
|
| + return eventHandlerCount(*document, EventHandlerRegistry::WheelEvent);
|
| }
|
|
|
| unsigned Internals::scrollEventHandlerCount(Document* document, ExceptionState& exceptionState)
|
|
|