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

Unified Diff: ui/aura/root_window_host_ozone.cc

Issue 119753007: Add GrabWindowSnapshotAsync tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add windows snapshot async too 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/aura/root_window_host_ozone.cc
diff --git a/ui/aura/root_window_host_ozone.cc b/ui/aura/root_window_host_ozone.cc
index 9f324c29dfea9f22e99788d427339a3fdf161b51..c20d9f937a9f7689791fa196e979dd81cf6d3863 100644
--- a/ui/aura/root_window_host_ozone.cc
+++ b/ui/aura/root_window_host_ozone.cc
@@ -33,6 +33,7 @@ RootWindowHostOzone::RootWindowHostOzone(const gfx::Rect& bounds)
RootWindowHostOzone::~RootWindowHostOzone() {
base::MessagePumpOzone::Current()->RemoveDispatcherForRootWindow(0);
+ DestroyCompositor();
}
bool RootWindowHostOzone::Dispatch(const base::NativeEvent& ne) {

Powered by Google App Engine
This is Rietveld 408576698