[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da
tonikitoo at webkit.org
tonikitoo at webkit.org
Wed Dec 22 18:35:28 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit d13935e5316bde50ea61008a44d7a22f02842790
Author: tonikitoo at webkit.org <tonikitoo at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Dec 14 07:17:23 2010 +0000
2010-12-13 Antonio Gomes <agomes at rim.com>
Rubber stamped by Daniel Bates.
Spatial Navigation: code clean up (part V)
https://bugs.webkit.org/show_bug.cgi?id=50666
No new tests needed.
* page/SpatialNavigation.cpp:
(WebCore::distanceDataForNode): Made 'FocusCandidate current' const since it is
not supposed to change within this function.
* page/SpatialNavigation.h: Ditto.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index ee16688..8b948d1 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,17 @@
+2010-12-13 Antonio Gomes <agomes at rim.com>
+
+ Rubber stamped by Daniel Bates.
+
+ Spatial Navigation: code clean up (part V)
+ https://bugs.webkit.org/show_bug.cgi?id=50666
+
+ No new tests needed.
+
+ * page/SpatialNavigation.cpp:
+ (WebCore::distanceDataForNode): Made 'FocusCandidate current' const since it is not
+ supposed to change within this function.
+ * page/SpatialNavigation.h: Ditto.
+
2010-12-13 takano takumi <takano at apple.com>
Reviewed by Dan Bernstein.
diff --git a/WebCore/page/SpatialNavigation.cpp b/WebCore/page/SpatialNavigation.cpp
index 5d12f72..5cb3c95 100644
--- a/WebCore/page/SpatialNavigation.cpp
+++ b/WebCore/page/SpatialNavigation.cpp
@@ -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;
diff --git a/WebCore/page/SpatialNavigation.h b/WebCore/page/SpatialNavigation.h
index c051441..a6dcf24 100644
--- a/WebCore/page/SpatialNavigation.h
+++ b/WebCore/page/SpatialNavigation.h
@@ -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*);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list