-
tonikitoo@webkit.org authored
Reviewed by Daniel Bates. Spatial Navigation: code clean up https://bugs.webkit.org/show_bug.cgi?id=50666 Patch unifies two FocusCandidate constructors, making caller sites simpler. Now the special handling HTMLAreaElement gets is done within the non default constructor (i.e. FocusCanditate(Node*, FocusDirection)). No new tests needed. * page/FocusController.cpp: (WebCore::FocusController::findFocusCandidateInContainer): * page/SpatialNavigation.cpp: (WebCore::FocusCandidate::FocusCandidate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a2bb1224