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

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

Issue 2237003002: Find display root ServerWindow for located events in mus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_display
Patch Set: Fixes. Created 4 years, 4 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/event_dispatcher_unittest.cc
diff --git a/services/ui/ws/event_dispatcher_unittest.cc b/services/ui/ws/event_dispatcher_unittest.cc
index e7273b4eb9db5a1dc75b39af78f7e62c81fbea71..832361d4204ca74516a4c8fff42ad534ff3ad094 100644
--- a/services/ui/ws/event_dispatcher_unittest.cc
+++ b/services/ui/ws/event_dispatcher_unittest.cc
@@ -140,7 +140,7 @@ class TestEventDispatcherDelegate : public EventDispatcherDelegate {
bool in_nonclient_area) override {
return in_nonclient_area ? kNonclientAreaId : kClientAreaId;
}
- ServerWindow* GetRootWindowContaining(const gfx::Point& location) override {
+ ServerWindow* GetRootWindowContaining(gfx::Point* location) override {
return root_;
}
void OnEventTargetNotFound(const ui::Event& event) override {

Powered by Google App Engine
This is Rietveld 408576698