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.
📐 Calculate WebView screen coverage in onDraw.
Instead of registering a PreDrawListener which causes some Android overhead, we manually check for WebView screen coverage updates in the WebView's onDraw method. Change-Id: Ic35fd0987dbf2e7fb610fd47c7a4a97045932b9b Bug: 1138032 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2825689 Reviewed-by: Bo <boliu@chromium.org> Commit-Queue: Peter Conn <peconn@chromium.org> Cr-Commit-Position: refs/heads/master@{#875076}
- Loading branch information
Peter E Conn
authored and
Chromium LUCI CQ
committed
Apr 22, 2021
1 parent
b018eca
commit 4afe929
Showing
2 changed files
with
95 additions
and
34 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