in the quoted code below, the assignment line is not needed any more after bug 36168 (patch 51940) landed. @@ -364,8 +364,6 @@ static void updateFocusCandidateIfCloser(Node* focusedNode, const FocusCandidate if (closest.alignment < candidate.alignment && closest.parentAlignment < candidate.alignment) closest.distance = maxDistance(); - - closest.alignment = candidate.alignment; } reason, all assignment takes place lines below in the same method, and not class member by class member. in other words, now instead of: closest.alignment = candidate.alignment, we have closest = candidate later on in the same method.
Created attachment 53404 [details] (committed: r57662) patch v1
Comment on attachment 53404 [details] (committed: r57662) patch v1 Clearing flags on attachment: 53434 Committed r57662: <http://trac.webkit.org/changeset/57662>
Thank you Simon Fraser!