Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Correct LayoutUnit usage in VisiblePosition.cpp
https://bugs.webkit.org/show_bug.cgi?id=81775 Reviewed by Eric Seidel. Correcting a mismatch between the .h and .cpp for the definition of localCaretRect, and properly using LayoutUnits for local coordinates. No new tests. No change in behavior. * editing/VisiblePosition.cpp: (WebCore::VisiblePosition::localCaretRect): Switching to return a LayoutRect, as in the header. Local coordinates are in LayoutUnits. (WebCore::VisiblePosition::absoluteCaretBounds): Using LayoutRect for the localCaretRect. (WebCore::VisiblePosition::lineDirectionPointForBlockDirectionNavigation): Ditto. Canonical link: https://commits.webkit.org/99116@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
2 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters