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

Unified Diff: mojo/shell/shell.cc

Issue 1872903003: Generalize InterfacePtrSet for [Associated]InterfacePtr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Put PtrSet in mojo::internal. 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
« no previous file with comments | « mojo/services/tracing/tracing_app.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/shell.cc
diff --git a/mojo/shell/shell.cc b/mojo/shell/shell.cc
index 2e390001b1c5536d15428a433849508932fc4dc5..cfabfd609704b60949a40db49cb1e0a54272febd 100644
--- a/mojo/shell/shell.cc
+++ b/mojo/shell/shell.cc
@@ -639,7 +639,7 @@ void Shell::AddInstanceListener(mojom::InstanceListenerPtr listener) {
instances.push_back(instance.second->CreateInstanceInfo());
listener->SetExistingInstances(std::move(instances));
- instance_listeners_.AddInterfacePtr(std::move(listener));
+ instance_listeners_.AddPtr(std::move(listener));
}
void Shell::CreateShellClientWithFactory(const Identity& source,
« no previous file with comments | « mojo/services/tracing/tracing_app.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698