
This reverts commit 0ebb95dd3e
.
Reason for revert: crbug.com/1285351.
Original change's description:
> zoom-for-dsf,FindInPage: Account for dsf when sending selection.
>
> When use-zoom-for-dsf is enabled, the web contents computes selection
> rects in physical pixels. However, the code in find bar that checks
> intersection of selection with findbar is expecting DIPs. The patch
> is to convert from physical to dips when we send the selection rect
> to the browser
>
> R=sky@chromium.org
>
> Bug: 1234683
> Change-Id: Ie14e5899ee2db5b5f0be72d1ecf9d5d8b88d5ea8
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3365829
> Reviewed-by: Scott Violet <sky@chromium.org>
> Commit-Queue: Vladimir Levin <vmpstr@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#956266}
Bug: 1234683
Change-Id: Ie48e5a0ef0865b194fa2689272c15b4e08aef69d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3373362
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Xi Han <hanxi@chromium.org>
Owners-Override: Xi Han <hanxi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#956564}
The third_party directory contains sources from other projects.
For guidelines on adding a new package to the third_party directory can be found at docs/adding_to_third_party.md