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

Unified Diff: content/common/mojo/service_registry_impl.cc

Issue 380413003: Mojo: Use InterfaceFactory<Interface> for service registration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix network_service_loader Created 6 years, 5 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 | « no previous file | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/service_registry_impl.cc
diff --git a/content/common/mojo/service_registry_impl.cc b/content/common/mojo/service_registry_impl.cc
index 15d7cd87569f0579fbb75895343dc1297fceddf5..d4109afe50e154b6c026c0e309e530daca7c1973 100644
--- a/content/common/mojo/service_registry_impl.cc
+++ b/content/common/mojo/service_registry_impl.cc
@@ -27,7 +27,7 @@ void ServiceRegistryImpl::BindRemoteServiceProvider(
mojo::ScopedMessagePipeHandle handle) {
DCHECK(!bound_);
bound_ = true;
- mojo::BindToPipe(this, handle.Pass());
+ mojo::WeakBindToPipe(this, handle.Pass());
while (!pending_connects_.empty()) {
client()->ConnectToService(
mojo::String::From(pending_connects_.front().first),
« no previous file with comments | « no previous file | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698