Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: ui/base/clipboard/clipboard_aurax11.cc

Issue 392153002: Remove X11/Xlib.h include from selection_requestor.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/base/x/selection_requestor.h » ('j') | ui/base/x/selection_requestor.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: {
« no previous file with comments | « no previous file | ui/base/x/selection_requestor.h » ('j') | ui/base/x/selection_requestor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698