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

Unified Diff: services/ui/ws/window_server_test_impl.cc

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Rebase and fix build 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/window_server_test_impl.cc
diff --git a/services/ui/ws/window_server_test_impl.cc b/services/ui/ws/window_server_test_impl.cc
index 7e0f382187dda6b093a53f8148bb158e0d294f76..7e580aed937bc70afe5702b83eb51b87ee1f8999 100644
--- a/services/ui/ws/window_server_test_impl.cc
+++ b/services/ui/ws/window_server_test_impl.cc
@@ -68,7 +68,9 @@ void WindowServerTestImpl::DispatchEvent(int64_t display_id,
return;
}
- static_cast<PlatformDisplayDelegate*>(display)->OnEvent(*event.get());
+ ignore_result(static_cast<PlatformDisplayDelegate*>(display)
+ ->GetEventSink()
+ ->OnEventFromSource(event.get()));
cb.Run(true);
}

Powered by Google App Engine
This is Rietveld 408576698