| Index: ui/base/clipboard/clipboard_aurax11.cc
|
| diff --git a/ui/base/clipboard/clipboard_aurax11.cc b/ui/base/clipboard/clipboard_aurax11.cc
|
| index 1626f34e372f002ec7d3f25a04e24ca390c842a5..8a4f6feb0b360538228c4e3de97ba3545b84f0d4 100644
|
| --- a/ui/base/clipboard/clipboard_aurax11.cc
|
| +++ b/ui/base/clipboard/clipboard_aurax11.cc
|
| @@ -534,12 +534,12 @@ uint32_t Clipboard::AuraX11Details::DispatchEvent(const PlatformEvent& xev) {
|
| switch (xev->type) {
|
| case SelectionRequest: {
|
| if (xev->xselectionrequest.selection == XA_PRIMARY) {
|
| - primary_owner_.OnSelectionRequest(xev->xselectionrequest);
|
| + primary_owner_.OnSelectionRequest(*xev);
|
| } else {
|
| // We should not get requests for the CLIPBOARD_MANAGER selection
|
| // because we never take ownership of it.
|
| DCHECK_EQ(GetCopyPasteSelection(), xev->xselectionrequest.selection);
|
| - clipboard_owner_.OnSelectionRequest(xev->xselectionrequest);
|
| + clipboard_owner_.OnSelectionRequest(*xev);
|
| }
|
| break;
|
| }
|
| @@ -555,12 +555,12 @@ uint32_t Clipboard::AuraX11Details::DispatchEvent(const PlatformEvent& xev) {
|
| }
|
| case SelectionClear: {
|
| if (xev->xselectionclear.selection == XA_PRIMARY) {
|
| - primary_owner_.OnSelectionClear(xev->xselectionclear);
|
| + primary_owner_.OnSelectionClear(*xev);
|
| } else {
|
| // We should not get requests for the CLIPBOARD_MANAGER selection
|
| // because we never take ownership of it.
|
| DCHECK_EQ(GetCopyPasteSelection(), xev->xselection.selection);
|
| - clipboard_owner_.OnSelectionClear(xev->xselectionclear);
|
| + clipboard_owner_.OnSelectionClear(*xev);
|
| }
|
| break;
|
| }
|
|
|