| Index: ash/display/display_controller.cc
|
| diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc
|
| index 8dde73051416bc51de0660a00b21b7c4cf039ff5..6fa52d475d1967fe6845d1d1af93eee40df46cad 100644
|
| --- a/ash/display/display_controller.cc
|
| +++ b/ash/display/display_controller.cc
|
| @@ -44,6 +44,7 @@
|
| #include "ash/display/output_configurator_animation.h"
|
| #include "chromeos/display/output_configurator.h"
|
| #include "ui/base/x/x11_util.h"
|
| +#include "ui/gfx/x/x11_types.h"
|
|
|
| // Including this at the bottom to avoid other
|
| // potential conflict with chrome headers.
|
| @@ -824,7 +825,7 @@ void DisplayController::UpdateHostWindowNames() {
|
| std::string name =
|
| root_windows[i] == primary ? "aura_root_0" : "aura_root_x";
|
| gfx::AcceleratedWidget xwindow = root_windows[i]->GetAcceleratedWidget();
|
| - XStoreName(ui::GetXDisplay(), xwindow, name.c_str());
|
| + XStoreName(gfx::GetXDisplay(), xwindow, name.c_str());
|
| }
|
| #endif
|
| }
|
|
|