Index: Source/core/frame/Frame.cpp |
diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp |
index a39b74cb1518bb684291a8a01d1175ed0d29ebf4..336da760182bc17176b375eeb1f01eb1123a47aa 100644 |
--- a/Source/core/frame/Frame.cpp |
+++ b/Source/core/frame/Frame.cpp |
@@ -599,7 +599,7 @@ void Frame::notifyChromeClientWheelEventHandlerCountChanged() const |
unsigned count = 0; |
for (const Frame* frame = this; frame; frame = frame->tree().traverseNext()) { |
if (frame->document()) |
- count += WheelController::from(frame->document())->wheelEventHandlerCount(); |
+ count += WheelController::from(*frame->document())->wheelEventHandlerCount(); |
} |
m_host->chrome().client().numWheelEventHandlersChanged(count); |