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

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

Issue 2029743002: Check WindowTreeClient for empty inflight queue upon teardown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More tests Created 4 years, 6 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: components/mus/public/cpp/lib/window_tree_client.cc
diff --git a/components/mus/public/cpp/lib/window_tree_client.cc b/components/mus/public/cpp/lib/window_tree_client.cc
index 642d54b744ca6134f1a4ebcf865cc7bae70bc6b2..4171f957ffbb96b5041cef6fb40ea7ca00da676f 100644
--- a/components/mus/public/cpp/lib/window_tree_client.cc
+++ b/components/mus/public/cpp/lib/window_tree_client.cc
@@ -131,6 +131,8 @@ WindowTreeClient::~WindowTreeClient() {
OnWillDestroyClient(this));
delegate_->OnWindowTreeClientDestroyed(this);
+
+ DCHECK(in_flight_map_.empty());
}
void WindowTreeClient::ConnectViaWindowTreeFactory(

Powered by Google App Engine
This is Rietveld 408576698