Index: components/mus/ws/user_display_manager.cc |
diff --git a/components/mus/ws/user_display_manager.cc b/components/mus/ws/user_display_manager.cc |
index b432a2f513dc2f2f120fac0a60aef96b2c2d81f6..e54e9b7fc444c6813b186f2c49f3824770563253 100644 |
--- a/components/mus/ws/user_display_manager.cc |
+++ b/components/mus/ws/user_display_manager.cc |
@@ -116,7 +116,7 @@ void UserDisplayManager::CallOnDisplayChanged( |
void UserDisplayManager::AddObserver( |
mojom::DisplayManagerObserverPtr observer) { |
mojom::DisplayManagerObserver* observer_impl = observer.get(); |
- display_manager_observers_.AddInterfacePtr(std::move(observer)); |
+ display_manager_observers_.AddPtr(std::move(observer)); |
OnObserverAdded(observer_impl); |
} |