| Index: services/ui/ws/test_utils.h
|
| diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h
|
| index b5a9886d49b5afeea96ffad4d576f2c728e8f16c..210097f6e1b779f8d07f6f42f9a6dfe290196ee5 100644
|
| --- a/services/ui/ws/test_utils.h
|
| +++ b/services/ui/ws/test_utils.h
|
| @@ -231,19 +231,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;
|
| }
|
|
|
|
|