Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Unified Diff: services/ui/ws/test_utils.h

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Address review issues. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/ui/ws/test_utils.h
diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h
index 22ddee3cbb99ade45c5e89015dca7d90d946d5fb..4e5ef54dd4fa65d8a6d4d0e54f0c20714198ca13 100644
--- a/services/ui/ws/test_utils.h
+++ b/services/ui/ws/test_utils.h
@@ -138,7 +138,7 @@ class DisplayTestApi {
explicit DisplayTestApi(Display* display);
~DisplayTestApi();
- void OnEvent(const ui::Event& event) { display_->OnEvent(event); }
+ void OnEvent(ui::Event* event) { display_->OnEventFromSource(event); }
mojom::Cursor last_cursor() const { return display_->last_cursor_; }

Powered by Google App Engine
This is Rietveld 408576698