Index: mojo/services/network/network_service_delegate.cc |
diff --git a/mojo/services/network/network_service_delegate.cc b/mojo/services/network/network_service_delegate.cc |
index 8caebfbd01e15a33f06d18260d7256b93fbf8faf..574a14388e84dfc5166a2bc44e6adc96685a3c81 100644 |
--- a/mojo/services/network/network_service_delegate.cc |
+++ b/mojo/services/network/network_service_delegate.cc |
@@ -133,10 +133,10 @@ void NetworkServiceDelegate::Initialize(Shell* shell, const std::string& url, |
bool NetworkServiceDelegate::AcceptConnection(Connection* connection) { |
DCHECK(context_); |
- connection->AddService<CookieStore>(this); |
- connection->AddService<NetworkService>(this); |
- connection->AddService<URLLoaderFactory>(this); |
- connection->AddService<WebSocketFactory>(this); |
+ connection->AddInterface<CookieStore>(this); |
+ connection->AddInterface<NetworkService>(this); |
+ connection->AddInterface<URLLoaderFactory>(this); |
+ connection->AddInterface<WebSocketFactory>(this); |
return true; |
} |