forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Fix rounding error in coordinate conversion"
This reverts commit 545c7c0. Reason for revert: <INSERT REASONING HERE> Original change's description: > Fix rounding error in coordinate conversion > > Fix the rounding error in code for coordinate conversion from > native host coordinate to screen DIP coordinate. > > In the original code, when mouse cursor is in the warp region of > secondary display, its screen DIP coordinate which is computed by > ConvertHostPointToRelativeToRootWindow may be out of secondary display > due to rounding error. It is also found that this rounding error only > happens with specific display zoom factors and display rotation > degrees. > > test: ash_unittests > > Bug: 905035 > Change-Id: I36af26afe4e210d70b6812a1bddb1a95feb7235f > Reviewed-on: https://chromium-review.googlesource.com/c/1343249 > Reviewed-by: Mitsuru Oshima <oshima@chromium.org> > Commit-Queue: Andrew Xu <andrewxu@chromium.org> > Cr-Commit-Position: refs/heads/master@{#612923} TBR=oshima@chromium.org,afakhry@chromium.org,andrewxu@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 905035 Change-Id: I46f3dacd9c293ad4dcc68314969ae8c1127d523d Reviewed-on: https://chromium-review.googlesource.com/c/1364052 Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/master@{#614145}
- Loading branch information
Andrew Xu
authored and
Commit Bot
committed
Dec 5, 2018
1 parent
25754cd
commit beb3651
Showing
6 changed files
with
4 additions
and
156 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
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
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