| Index: services/ui/ws/test_utils.h
|
| diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h
|
| index 5cadb9dea4addbd3a3465ecb305169742240b8a6..f0d2f91f1fd6b49a000ed11a7fc599c0df3da98f 100644
|
| --- a/services/ui/ws/test_utils.h
|
| +++ b/services/ui/ws/test_utils.h
|
| @@ -233,19 +233,22 @@ class WindowManagerStateTestApi {
|
| }
|
|
|
| WindowTree* tree_awaiting_input_ack() {
|
| - return wms_->in_flight_event_details_ ? wms_->in_flight_event_details_->tree
|
| - : nullptr;
|
| + return wms_->in_flight_event_dispatch_details_
|
| + ? wms_->in_flight_event_dispatch_details_->tree
|
| + : nullptr;
|
| }
|
|
|
| + bool event_queue_empty() { return wms_->event_queue_.empty(); }
|
| +
|
| const std::vector<std::unique_ptr<WindowManagerDisplayRoot>>&
|
| window_manager_display_roots() const {
|
| return wms_->window_manager_display_roots_;
|
| }
|
|
|
| bool AckInFlightEvent(mojom::EventResult result) {
|
| - if (!wms_->in_flight_event_details_)
|
| + if (!wms_->in_flight_event_dispatch_details_)
|
| return false;
|
| - wms_->OnEventAck(wms_->in_flight_event_details_->tree, result);
|
| + wms_->OnEventAck(wms_->in_flight_event_dispatch_details_->tree, result);
|
| return true;
|
| }
|
|
|
|
|