Commit 42196d50 authored by Dominique Fauteux-Chapleau's avatar Dominique Fauteux-Chapleau Committed by Commit Bot

Fix cursor disappearing in deep scans


Bug: 1100902
Change-Id: Ibf7537f2ec2084a3e4a03c33ab4c45ad5835e046
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2346914Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: Dominique Fauteux-Chapleau <domfc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797866}
parent 96b8fdb0
......@@ -7849,6 +7849,10 @@ void WebContentsImpl::IsClipboardPasteAllowedWrapperCallback(
ClipboardPasteAllowed allowed) {
std::move(callback).Run(allowed);
--suppress_unresponsive_renderer_count_;
// Focus |this| in case the paste was async and lost focus before this
// callback got called.
Focus();
}
bool WebContentsImpl::HasSeenRecentScreenOrientationChange() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment