2010-12-13 Antonio Gomes <agomes@rim.com>
[WebKit-https.git] / WebCore / page / SpatialNavigation.cpp
index 5d12f7240f6cd57a16e69aa13372e7a6c254c33d..5cb3c95cccda420888fad1aed5dee0df49001e07 100644 (file)
@@ -592,7 +592,7 @@ void entryAndExitPointsForDirection(FocusDirection direction, const IntRect& sta
     }
 }
 
-void distanceDataForNode(FocusDirection direction, FocusCandidate& current, FocusCandidate& candidate)
+void distanceDataForNode(FocusDirection direction, const FocusCandidate& current, FocusCandidate& candidate)
 {
     if (candidate.isNull())
         return;