| Index: services/ui/ws/window_tree.cc
|
| diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
|
| index 96f31a1a4c65db9c1df7094f595f031f7b866430..0206327b3029fe4a72b98b55812605d6bcc98571 100644
|
| --- a/services/ui/ws/window_tree.cc
|
| +++ b/services/ui/ws/window_tree.cc
|
| @@ -1016,9 +1016,9 @@ void WindowTree::NewTopLevelWindow(
|
| uint32_t change_id,
|
| Id transport_window_id,
|
| mojo::Map<mojo::String, mojo::Array<uint8_t>> transport_properties) {
|
| - DCHECK(!waiting_for_top_level_window_info_);
|
| // TODO(sky): rather than DCHECK, have this kill connection.
|
| DCHECK(!window_manager_internal_); // Not valid for the windowmanager.
|
| + DCHECK(!waiting_for_top_level_window_info_);
|
| const ClientWindowId client_window_id(transport_window_id);
|
| // TODO(sky): need a way for client to provide context to figure out display.
|
| Display* display = display_manager()->displays().empty()
|
|
|