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() {} |