| Index: services/ui/ws/test_utils.h
|
| diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h
|
| index 7e2cb3fecf88aa6e9db0b36e7c29813a692347b1..1922115d54399a0ebdd03652e6fbec849c2d5805 100644
|
| --- a/services/ui/ws/test_utils.h
|
| +++ b/services/ui/ws/test_utils.h
|
| @@ -138,7 +138,9 @@ class DisplayTestApi {
|
| explicit DisplayTestApi(Display* display);
|
| ~DisplayTestApi();
|
|
|
| - void OnEvent(const ui::Event& event) { display_->OnEvent(event); }
|
| + void OnEvent(const ui::Event& event) {
|
| + ignore_result(display_->OnEventFromSource(const_cast<ui::Event*>(&event)));
|
| + }
|
|
|
| mojom::Cursor last_cursor() const { return display_->last_cursor_; }
|
|
|
|
|