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

Unified Diff: ui/views/mus/pointer_watcher_event_router.cc

Issue 2696573003: Have WindowTreeClient detect error state earlier (Closed)
Patch Set: Fix test exposed by new check Created 3 years, 10 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 | « ui/views/mus/pointer_watcher_event_router.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/pointer_watcher_event_router.cc
diff --git a/ui/views/mus/pointer_watcher_event_router.cc b/ui/views/mus/pointer_watcher_event_router.cc
index 3daf94c0c3ac9f78b1fb5efd3c4f803bf31d8b7c..e73a13a120d35057120a9f7aa5dfa1fac90b3481 100644
--- a/ui/views/mus/pointer_watcher_event_router.cc
+++ b/ui/views/mus/pointer_watcher_event_router.cc
@@ -163,7 +163,7 @@ void PointerWatcherEventRouter::OnCaptureChanged(aura::Window* lost_capture,
observer.OnPointerEventObserved(event, location_in_screen, nullptr);
}
-void PointerWatcherEventRouter::OnDidDestroyClient(
+void PointerWatcherEventRouter::OnWillDestroyClient(
aura::WindowTreeClient* client) {
// We expect that all observers have been removed by this time.
DCHECK_EQ(event_types_, EventTypes::NONE);
« no previous file with comments | « ui/views/mus/pointer_watcher_event_router.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698