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

Unified Diff: ui/views/win/hwnd_message_handler.cc

Issue 132473007: aura: Destroy the compositor before destroying the backing window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: destroy-window: compile Created 6 years, 11 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: ui/views/win/hwnd_message_handler.cc
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
index cd2319ce4291138e8a2a88d109b9513cd3119d59..24de28aeec18635ca2ae54e188f075f7fea1a272 100644
--- a/ui/views/win/hwnd_message_handler.cc
+++ b/ui/views/win/hwnd_message_handler.cc
@@ -922,6 +922,7 @@ LRESULT HWNDMessageHandler::OnWndProc(UINT message,
#if !defined(USE_AURA)
base::MessageLoopForUI::current()->RemoveObserver(this);
#endif
+ SetDestroyed();
if (delegate_)
delegate_->HandleDestroyed();
}
« ui/gfx/win/window_impl.cc ('K') | « ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698