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

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

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: 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
« no previous file with comments | « services/ui/ws/window_server_test_impl.cc ('k') | ui/aura/gestures/gesture_recognizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree_unittest.cc
diff --git a/services/ui/ws/window_tree_unittest.cc b/services/ui/ws/window_tree_unittest.cc
index be17bc3823b1cd40009b3c4ec21c2648b634a0bf..7160a91dcdf9a5edda79accb246b8c1b34ce711c 100644
--- a/services/ui/ws/window_tree_unittest.cc
+++ b/services/ui/ws/window_tree_unittest.cc
@@ -147,7 +147,8 @@ class WindowTreeTest : public testing::Test {
}
void DispatchEventWithoutAck(const ui::Event& event) {
- DisplayTestApi(display()).OnEvent(event);
+ std::unique_ptr<Event> tmp = ui::Event::Clone(event);
+ DisplayTestApi(display()).OnEvent(tmp.get());
}
void set_window_manager_internal(WindowTree* tree,
« no previous file with comments | « services/ui/ws/window_server_test_impl.cc ('k') | ui/aura/gestures/gesture_recognizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698