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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.cc

Issue 1984293002: Random fixes for mash bridge classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 7 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 | « no previous file | components/mus/public/cpp/window_tree_connection_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window_tree_client_impl.cc
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.cc b/components/mus/public/cpp/lib/window_tree_client_impl.cc
index dc439ce190eba16798135df213c721a1aab28424..6f2b2936231f6d33ff655c07fea5a8343af999a3 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
@@ -166,6 +166,9 @@ WindowTreeClientImpl::~WindowTreeClientImpl() {
while (!tracker.windows().empty())
delete tracker.windows().front();
+ FOR_EACH_OBSERVER(WindowTreeConnectionObserver, observers_,
+ OnWillDestroyConnection(this));
+
delegate_->OnConnectionLost(this);
}
« no previous file with comments | « no previous file | components/mus/public/cpp/window_tree_connection_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698