Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 4d3efeb245a023f227dab755da88aab142243de8..6ccdde05b9880b0ec9e205fa58f53f45a175f950 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -510,22 +510,6 @@ void LocalFrame::deviceOrPageScaleFactorChanged() |
child->deviceOrPageScaleFactorChanged(); |
} |
-void LocalFrame::notifyChromeClientWheelEventHandlerCountChanged() const |
-{ |
- // FIXME: No-one is using this information, so remove this code. |
- // Ensure that this method is being called on the main frame of the page. |
- ASSERT(isMainFrame()); |
- |
- EventHandlerRegistry& registry = m_host->eventHandlerRegistry(); |
- unsigned count = 0; |
- if (const EventTargetSet* targets = registry.eventHandlerTargets(EventHandlerRegistry::WheelEvent)) { |
- for (EventTargetSet::const_iterator iter = targets->begin(); iter != targets->end(); ++iter) |
- count += iter->value; |
- } |
- |
- m_host->chrome().client().numWheelEventHandlersChanged(count); |
-} |
- |
bool LocalFrame::isURLAllowed(const KURL& url) const |
{ |
// We allow one level of self-reference because some sites depend on that, |