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

Unified Diff: mash/session/session.cc

Issue 1872903003: Generalize InterfacePtrSet for [Associated]InterfacePtr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 8 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: mash/session/session.cc
diff --git a/mash/session/session.cc b/mash/session/session.cc
index 843fab3e1510cfa9cb54042f9cb837f55e8e1058..ce40c7e61653057d1ef2013435301b3b56123356 100644
--- a/mash/session/session.cc
+++ b/mash/session/session.cc
@@ -61,7 +61,7 @@ void Session::SwitchUser() {
void Session::AddScreenlockStateListener(
mojom::ScreenlockStateListenerPtr listener) {
listener->ScreenlockStateChanged(screen_locked_);
- screenlock_listeners_.AddInterfacePtr(std::move(listener));
+ screenlock_listeners_.AddPtr(std::move(listener));
}
void Session::LockScreen() {

Powered by Google App Engine
This is Rietveld 408576698