Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2493)

Unified Diff: trunk/src/ui/aura/window_tree_host_x11.cc

Issue 205313002: Revert 258077 "Remove PrepareForShutdown" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/ui/aura/window_tree_host_x11.cc
===================================================================
--- trunk/src/ui/aura/window_tree_host_x11.cc (revision 258102)
+++ trunk/src/ui/aura/window_tree_host_x11.cc (working copy)
@@ -699,6 +699,10 @@
float device_scale_factor) {
}
+void WindowTreeHostX11::PrepareForShutdown() {
+ base::MessagePumpX11::Current()->RemoveDispatcherForWindow(xwindow_);
+}
+
void WindowTreeHostX11::SetCursorNative(gfx::NativeCursor cursor) {
if (cursor == current_cursor_)
return;
« no previous file with comments | « trunk/src/ui/aura/window_tree_host_x11.h ('k') | trunk/src/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698