Index: examples/http_handler/http_handler.cc |
diff --git a/examples/http_handler/http_handler.cc b/examples/http_handler/http_handler.cc |
index 5e9b0c258a1e53f71f6bf56061113a435534a319..79ad2c65eb43d6daa537f7e6484fe69ea94ada11 100644 |
--- a/examples/http_handler/http_handler.cc |
+++ b/examples/http_handler/http_handler.cc |
@@ -33,7 +33,7 @@ class HttpHandler : public ApplicationDelegate, |
binding_.Bind(GetProxy(&http_handler_ptr)); |
http_server::HttpServerFactoryPtr http_server_factory; |
- app->ConnectToService("mojo:http_server", &http_server_factory); |
+ app->ConnectToServiceDeprecated("mojo:http_server", &http_server_factory); |
mojo::NetAddressPtr local_address(mojo::NetAddress::New()); |
local_address->family = mojo::NetAddressFamily::IPV4; |