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); |