| Index: services/ui/ws/window_server.cc
|
| diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
|
| index 8403378fe7ed0275a8be8fa4e1d41901baadf821..29b3b55d43b8ea80dc8603093c890923a54a7192 100644
|
| --- a/services/ui/ws/window_server.cc
|
| +++ b/services/ui/ws/window_server.cc
|
| @@ -426,13 +426,13 @@ void WindowServer::ProcessWillChangeWindowPredefinedCursor(ServerWindow* window,
|
| }
|
| }
|
|
|
| -void WindowServer::SendToEventObservers(const ui::Event& event,
|
| - const UserId& user_id,
|
| - WindowTree* ignore_tree) {
|
| +void WindowServer::SendToPointerWatchers(const ui::Event& event,
|
| + const UserId& user_id,
|
| + WindowTree* ignore_tree) {
|
| for (auto& pair : tree_map_) {
|
| WindowTree* tree = pair.second.get();
|
| if (tree->user_id() == user_id && tree != ignore_tree)
|
| - tree->SendToEventObserver(event);
|
| + tree->SendToPointerWatcher(event);
|
| }
|
| }
|
|
|
|
|