| Index: ui/aura/mus/window_tree_client.cc
|
| diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
|
| index 6094207625bebc209dee695fea0f3f9f7c638120..7c816feb39fc4b601ffc682e79d0f323903be8d2 100644
|
| --- a/ui/aura/mus/window_tree_client.cc
|
| +++ b/ui/aura/mus/window_tree_client.cc
|
| @@ -1467,6 +1467,7 @@ void WindowTreeClient::RequestClose(uint32_t window_id) {
|
| }
|
|
|
| bool WindowTreeClient::WaitForInitialDisplays() {
|
| + LOG(WARNING) << "WaitForInitialDisplays got=" << got_initial_displays_;
|
| if (got_initial_displays_)
|
| return true;
|
|
|
| @@ -1474,6 +1475,7 @@ bool WindowTreeClient::WaitForInitialDisplays() {
|
| // TODO(sky): having to block here is not ideal. http://crbug.com/594852.
|
| while (!got_initial_displays_ && valid_wait)
|
| valid_wait = binding_.WaitForIncomingMethodCall();
|
| + LOG(WARNING) << "wait done, valid=" << valid_wait;
|
| return valid_wait;
|
| }
|
|
|
| @@ -1487,7 +1489,9 @@ WindowTreeHostMusInitParams WindowTreeClient::CreateInitParamsForNewDisplay() {
|
| }
|
|
|
| void WindowTreeClient::OnConnect(ClientSpecificId client_id) {
|
| + LOG(WARNING) << "OnConnect";
|
| client_id_ = client_id;
|
| + got_initial_displays_ = true;
|
| if (window_manager_delegate_)
|
| window_manager_delegate_->OnWmConnected();
|
| }
|
|
|