2010-12-13 Antonio Gomes <agomes@rim.com>
[WebKit-https.git] / WebCore / page / SpatialNavigation.h
index c0514416bc9eee5eb4ebc157b4191cc202e247d6..a6dcf247dcae55dc7b89c19c345a8958ac0c965c 100644 (file)
@@ -141,7 +141,7 @@ bool scrollInDirection(Node* container, FocusDirection);
 bool canScrollInDirection(FocusDirection, const Node* container);
 bool canScrollInDirection(FocusDirection, const Frame*);
 bool canBeScrolledIntoView(FocusDirection, const FocusCandidate&);
-void distanceDataForNode(FocusDirection, FocusCandidate& current, FocusCandidate& candidate);
+void distanceDataForNode(FocusDirection, const FocusCandidate& current, FocusCandidate& candidate);
 Node* scrollableEnclosingBoxOrParentFrameForNodeInDirection(FocusDirection, Node*);
 IntRect nodeRectInAbsoluteCoordinates(Node*, bool ignoreBorder = false);
 IntRect frameRectInAbsoluteCoordinates(Frame*);