Index: ui/base/clipboard/clipboard_aurax11.cc |
diff --git a/ui/base/clipboard/clipboard_aurax11.cc b/ui/base/clipboard/clipboard_aurax11.cc |
index 45ee987b35d65a4ba5947d7f2d7ed44e6b175b05..1626f34e372f002ec7d3f25a04e24ca390c842a5 100644 |
--- a/ui/base/clipboard/clipboard_aurax11.cc |
+++ b/ui/base/clipboard/clipboard_aurax11.cc |
@@ -546,11 +546,11 @@ uint32_t Clipboard::AuraX11Details::DispatchEvent(const PlatformEvent& xev) { |
case SelectionNotify: { |
::Atom selection = xev->xselection.selection; |
if (selection == XA_PRIMARY) |
- primary_requestor_.OnSelectionNotify(xev->xselection); |
+ primary_requestor_.OnSelectionNotify(*xev); |
else if (selection == GetCopyPasteSelection()) |
- clipboard_requestor_.OnSelectionNotify(xev->xselection); |
+ clipboard_requestor_.OnSelectionNotify(*xev); |
else if (selection == atom_cache_.GetAtom(kClipboardManager)) |
- clipboard_manager_requestor_.OnSelectionNotify(xev->xselection); |
+ clipboard_manager_requestor_.OnSelectionNotify(*xev); |
break; |
} |
case SelectionClear: { |