| Index: examples/forwarding_content_handler/forwarding_content_handler.cc
|
| diff --git a/examples/forwarding_content_handler/forwarding_content_handler.cc b/examples/forwarding_content_handler/forwarding_content_handler.cc
|
| index f7cfaca2abf86924f379e670cc752619216aabfe..87730f2ee4a7cdfabbe46ae237a2339bb2205a31 100644
|
| --- a/examples/forwarding_content_handler/forwarding_content_handler.cc
|
| +++ b/examples/forwarding_content_handler/forwarding_content_handler.cc
|
| @@ -59,7 +59,8 @@ class ForwardingContentHandler : public ApplicationDelegate,
|
| private:
|
| // Overridden from ApplicationDelegate:
|
| bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
|
| - connection->AddService(&content_handler_factory_);
|
| + connection->GetServiceProviderImpl().AddService<ContentHandler>(
|
| + content_handler_factory_.GetInterfaceRequestHandler());
|
| return true;
|
| }
|
|
|
|
|