Skip to content
Permalink
Browse files
2010-03-04 Simon Fraser <simon.fraser@apple.com>
        Build fix.

        Delcare updateFocusCandidateIfCloser static to avoid warning.

        * page/FocusController.cpp:
        (WebCore::updateFocusCandidateIfCloser):

Canonical link: https://commits.webkit.org/46847@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@55550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
smfr committed Mar 4, 2010
1 parent acb5bb3 commit dbabf61cc1226dc1bfe51675562a6e011a498c15
Showing 2 changed files with 10 additions and 1 deletion.
@@ -1,3 +1,12 @@
2010-03-04 Simon Fraser <simon.fraser@apple.com>

Build fix.

Delcare updateFocusCandidateIfCloser static to avoid warning.

* page/FocusController.cpp:
(WebCore::updateFocusCandidateIfCloser):

2010-03-04 Darin Fisher <darin@chromium.org>

Reviewed by Dmitry Titov.
@@ -338,7 +338,7 @@ bool FocusController::advanceFocusDirectionally(FocusDirection direction, Keyboa
return true;
}

void updateFocusCandidateIfCloser(Node* focusedNode, Node* candidate, long long distance, FocusCandidate& closestFocusCandidate)
static void updateFocusCandidateIfCloser(Node* focusedNode, Node* candidate, long long distance, FocusCandidate& closestFocusCandidate)
{
// Bail out if |distance| is bigger than the current closest candidate.
if (distance >= closestFocusCandidate.distance)

0 comments on commit dbabf61

Please sign in to comment.