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 864ebb71a572996052e2f85661d793bb7da5fe9d..d2a39c382366c6dcdc9b14631ec12bb1b2b07b30 100644 |
--- a/ui/aura/root_window_host_linux.cc |
+++ b/ui/aura/root_window_host_linux.cc |
@@ -361,7 +361,7 @@ RootWindowHostLinux::RootWindowHostLinux(const gfx::Rect& bounds) |
CWBackPixmap, |
&swa); |
static_cast<DispatcherLinux*>(Env::GetInstance()->GetDispatcher())-> |
- WindowDispatcherCreated(xwindow_, this); |
+ RegisterDispatcher(xwindow_, this); |
prop_.reset(new ui::ViewProp(xwindow_, kRootWindowHostLinuxKey, this)); |
@@ -424,7 +424,7 @@ RootWindowHostLinux::RootWindowHostLinux(const gfx::Rect& bounds) |
RootWindowHostLinux::~RootWindowHostLinux() { |
static_cast<DispatcherLinux*>(Env::GetInstance()->GetDispatcher())-> |
- WindowDispatcherDestroying(xwindow_); |
+ UnregisterDispatcher(xwindow_); |
UnConfineCursor(); |