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

Unified Diff: ui/base/x/selection_utils.cc

Issue 23460052: Move XID, XDisplay, GetXDisplay and a few other types to ui/gfx/x/x11_types.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
Index: ui/base/x/selection_utils.cc
diff --git a/ui/base/x/selection_utils.cc b/ui/base/x/selection_utils.cc
index a1289867dee6c9d61813a708009f41380571d108..e0f1d9b5e0c6ffa6b48648e4cca2cbf90b8de77a 100644
--- a/ui/base/x/selection_utils.cc
+++ b/ui/base/x/selection_utils.cc
@@ -133,7 +133,7 @@ std::vector< ::Atom> SelectionFormatMap::GetTypes() const {
SelectionData::SelectionData()
: type_(None),
- atom_cache_(ui::GetXDisplay(), kSelectionDataAtoms) {
+ atom_cache_(gfx::GetXDisplay(), kSelectionDataAtoms) {
}
SelectionData::SelectionData(
@@ -141,13 +141,13 @@ SelectionData::SelectionData(
const scoped_refptr<base::RefCountedMemory>& memory)
: type_(type),
memory_(memory),
- atom_cache_(ui::GetXDisplay(), kSelectionDataAtoms) {
+ atom_cache_(gfx::GetXDisplay(), kSelectionDataAtoms) {
}
SelectionData::SelectionData(const SelectionData& rhs)
: type_(rhs.type_),
memory_(rhs.memory_),
- atom_cache_(ui::GetXDisplay(), kSelectionDataAtoms) {
+ atom_cache_(gfx::GetXDisplay(), kSelectionDataAtoms) {
}
SelectionData::~SelectionData() {}
« no previous file with comments | « ui/base/x/events_x.cc ('k') | ui/base/x/x11_error_tracker.cc » ('j') | ui/base/x/x11_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698