Index: components/mus/public/cpp/tests/window_server_test_base.cc |
diff --git a/components/mus/public/cpp/tests/window_server_test_base.cc b/components/mus/public/cpp/tests/window_server_test_base.cc |
index 02d9e12fee0daed60249f7b0dda11c59869d1ca2..7fc54b5f7eb9eaa4d6648424b0b32eec4e1a0fc3 100644 |
--- a/components/mus/public/cpp/tests/window_server_test_base.cc |
+++ b/components/mus/public/cpp/tests/window_server_test_base.cc |
@@ -87,6 +87,7 @@ bool WindowServerTestBase::ConfigureIncomingConnection( |
void WindowServerTestBase::OnEmbed(Window* root) { |
most_recent_connection_ = root->connection(); |
EXPECT_TRUE(QuitRunLoop()); |
+ host_->AddActivationParent(root->id()); |
} |
void WindowServerTestBase::OnConnectionLost(WindowTreeConnection* connection) { |