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

Unified Diff: ui/aura/window_tree_host.cc

Issue 859423002: Explicitly specify the ui::Compositor to DelegatedFrameHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add aura:: Created 5 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 | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | ui/aura/window_tree_host_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host.cc
diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc
index 39ed6422e50ee4d266ba5ca3c8812a1e6f4539c4..b048ceb2077f5ab246f187190f634ac496baecc7 100644
--- a/ui/aura/window_tree_host.cc
+++ b/ui/aura/window_tree_host.cc
@@ -181,6 +181,8 @@ WindowTreeHost::WindowTreeHost()
}
void WindowTreeHost::DestroyCompositor() {
+ FOR_EACH_OBSERVER(WindowTreeHostObserver, observers_,
sky 2015/01/23 17:32:18 Can whoever cares about this notification listen d
ccameron 2015/01/23 18:52:27 Sure (just checked that observers can be removed w
+ OnHostCompositorWillBeDestroyed(this));
compositor_.reset();
}
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | ui/aura/window_tree_host_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698