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

Unified Diff: services/ui/public/cpp/tests/window_tree_client_private.cc

Issue 2125663002: mus: Add watcher for all touch events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Overload copy assignment operator for Change struct. Created 4 years, 5 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/public/cpp/tests/window_tree_client_private.cc
diff --git a/services/ui/public/cpp/tests/window_tree_client_private.cc b/services/ui/public/cpp/tests/window_tree_client_private.cc
index eb75d72dfcb180b398574439c860e24c13f16334..a0ddb2fbb1d43037737d786ce75471b240994f59 100644
--- a/services/ui/public/cpp/tests/window_tree_client_private.cc
+++ b/services/ui/public/cpp/tests/window_tree_client_private.cc
@@ -53,8 +53,10 @@ void WindowTreeClientPrivate::CallOnWindowInputEvent(
std::unique_ptr<ui::Event> event) {
const uint32_t event_id = 0u;
const uint32_t observer_id = 0u;
- tree_client_impl_->OnWindowInputEvent(event_id, window->server_id(),
- std::move(event), observer_id);
+ mojo::Array<uint32_t> observer_ids;
+ observer_ids.push_back(observer_id);
+ tree_client_impl_->OnWindowInputEvent(
+ event_id, window->server_id(), std::move(event), std::move(observer_ids));
}
void WindowTreeClientPrivate::SetTreeAndClientId(mojom::WindowTree* window_tree,

Powered by Google App Engine
This is Rietveld 408576698