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 45a1c1537a04905d6522b85ad8ec4e7e5ee167e4..4800533d33cf51fc2e53be548aec101c26169134 100644 |
--- a/ui/aura/root_window_host_linux.cc |
+++ b/ui/aura/root_window_host_linux.cc |
@@ -714,7 +714,7 @@ bool RootWindowHostLinux::Dispatch(const base::NativeEvent& event) { |
Atom message_type = static_cast<Atom>(xev->xclient.data.l[0]); |
if (message_type == atom_cache_.GetAtom("WM_DELETE_WINDOW")) { |
// We have received a close message from the window manager. |
- delegate_->AsRootWindow()->OnRootWindowHostClosed(); |
+ delegate_->AsRootWindow()->OnRootWindowHostCloseRequested(); |
} else if (message_type == atom_cache_.GetAtom("_NET_WM_PING")) { |
XEvent reply_event = *xev; |
reply_event.xclient.window = x_root_window_; |