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

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: windows 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..aa6c6f5a6005e5d248f7720cb878a7e691cfa0f3 100644
--- a/ui/views/win/hwnd_message_handler.cc
+++ b/ui/views/win/hwnd_message_handler.cc
@@ -452,7 +452,7 @@ void HWNDMessageHandler::CloseNow() {
// ourself.
waiting_for_close_now_ = false;
if (IsWindow(hwnd()))
- DestroyWindow(hwnd());
+ Destroy();
Ben Goodger (Google) 2014/01/14 21:48:03 this line should remain unchanged with the changes
danakj 2014/01/14 21:58:41 Done.
}
gfx::Rect HWNDMessageHandler::GetWindowBoundsInScreen() const {
« 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