Make WindowServerTestBase connect as WM client.
WindowServerTestBase already implements the WindowManagerDelegate interface to be a WM client. Instead of connecting to service:ui as a WM client, it connects using mojom::WindowTreeHost. This interface is only used in tests and doesn't exercise the real display codepath in service:ui. Change WindowServerTestBase to connect WM client. The first response that it receives will be in OnWmNewDisplay() instead of OnEmbed(), so move call QuitRunLoop() to OnWmNewDisplay() as well. BUG=none Review-Url: https://codereview.chromium.org/2438193003 Cr-Commit-Position: refs/heads/master@{#427159}
Showing
Please register or sign in to comment