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

Unified Diff: ui/gfx/win/window_impl.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
« no previous file with comments | « ui/gfx/win/window_impl.h ('k') | ui/views/widget/desktop_aura/desktop_root_window_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/window_impl.cc
diff --git a/ui/gfx/win/window_impl.cc b/ui/gfx/win/window_impl.cc
index 3ca3f900102feb7beb0788c1a5e0d4fbb65b1ee1..b790e4cb7f94f6d440dd326bc8d5f70768a56e0a 100644
--- a/ui/gfx/win/window_impl.cc
+++ b/ui/gfx/win/window_impl.cc
@@ -219,6 +219,8 @@ void WindowImpl::Init(HWND parent, const Rect& bounds) {
CHECK_EQ(this, GetWindowUserData(hwnd));
}
+void WindowImpl::SetDestroyed() { hwnd_ = NULL; }
Ben Goodger (Google) 2014/01/15 19:16:20 sorry to continue to nitpick this, but could you d
danakj 2014/01/15 19:23:52 I see, OK done. I set hwnd_ to NULL after calling
+
HICON WindowImpl::GetDefaultWindowIcon() const {
return NULL;
}
« no previous file with comments | « ui/gfx/win/window_impl.h ('k') | ui/views/widget/desktop_aura/desktop_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698