ozone/x11: complete request on SelectionNotify.
Currently, X11ClipboardOzone continues to keep the request even though OnSelectionNotify comes. This may result in clients waiting until the request is processed or sending another request at the same time as the request is being processed. Thus, after I looked at how non-Ozone/X11 handle selection notify, copy the logic that SelectionRequestor::OnSelectionNotify has and complete the request with empty data. Fixes the following tests: SafeBrowsingBlockingPageWithDelayedWarningsBrowserTest/SafeBrowsingBlockingPageDelayedWarningBrowserTest.Paste_* Bug: 1084472 Change-Id: Iad7383f198b482549c9cff7f6b1183c9b8419470 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2340909Reviewed-by:Joel Hockey <joelhockey@chromium.org> Reviewed-by:
Robert Kroeger <rjkroege@chromium.org> Commit-Queue: Maksim Sisov (GMT+3) <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#796709}
Showing
Please register or sign in to comment