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

Unified Diff: ui/aura/root_window_host_win.cc

Issue 119753007: Add GrabWindowSnapshotAsync tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test both sync and async paths Created 6 years, 12 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/aura/root_window_host_win.cc
diff --git a/ui/aura/root_window_host_win.cc b/ui/aura/root_window_host_win.cc
index 7bf4284ca4bb8b89f91d7e04740f9eb90d79f7ab..872599d53b7106d33a9bfd0964e95f2006ad4360 100644
--- a/ui/aura/root_window_host_win.cc
+++ b/ui/aura/root_window_host_win.cc
@@ -52,6 +52,7 @@ RootWindowHostWin::RootWindowHostWin(const gfx::Rect& bounds)
}
RootWindowHostWin::~RootWindowHostWin() {
+ DestroyCompositor();
DestroyWindow(hwnd());
}

Powered by Google App Engine
This is Rietveld 408576698