Index: Source/core/frame/Frame.cpp |
diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp |
index 323f7b57636359d1e2d9d81c67c97eb43bcb313b..fa53b8449e3e86a65925ce96c7ec59d1611fb050 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); |