| Index: ui/aura/root_window_host_linux.cc
|
| diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc
|
| index bcf1b6fb8d04ca8f332b1301f9e17d8e090fdc83..4eb88023aef0ad416cd32992ba1576fa368d0097 100644
|
| --- a/ui/aura/root_window_host_linux.cc
|
| +++ b/ui/aura/root_window_host_linux.cc
|
| @@ -20,7 +20,6 @@
|
| #include "grit/ui_resources.h"
|
| #include "ui/aura/client/capture_client.h"
|
| #include "ui/aura/client/user_action_client.h"
|
| -#include "ui/aura/dispatcher_linux.h"
|
| #include "ui/aura/env.h"
|
| #include "ui/aura/root_window.h"
|
| #include "ui/base/cursor/cursor.h"
|
| @@ -473,8 +472,7 @@ RootWindowHostLinux::RootWindowHostLinux(RootWindowHostDelegate* delegate,
|
| CopyFromParent, // visual
|
| CWBackPixmap,
|
| &swa);
|
| - static_cast<DispatcherLinux*>(Env::GetInstance()->GetDispatcher())->
|
| - AddDispatcherForWindow(this, xwindow_);
|
| + base::MessagePumpAuraX11::Current()->AddDispatcherForWindow(this, xwindow_);
|
|
|
| prop_.reset(new ui::ViewProp(xwindow_, kRootWindowHostLinuxKey, this));
|
|
|
| @@ -537,8 +535,7 @@ RootWindowHostLinux::RootWindowHostLinux(RootWindowHostDelegate* delegate,
|
| }
|
|
|
| RootWindowHostLinux::~RootWindowHostLinux() {
|
| - static_cast<DispatcherLinux*>(Env::GetInstance()->GetDispatcher())->
|
| - RemoveDispatcherForWindow(xwindow_);
|
| + base::MessagePumpAuraX11::Current()->RemoveDispatcherForWindow(xwindow_);
|
|
|
| UnConfineCursor();
|
|
|
|
|