| 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 91e9d3516c62891b36bec8cd4d7c231908a637f3..cfc284a02ab05ebf4d6bc1a0db15e187a19704cd 100644
|
| --- a/examples/forwarding_content_handler/forwarding_content_handler.cc
|
| +++ b/examples/forwarding_content_handler/forwarding_content_handler.cc
|
| @@ -54,14 +54,14 @@ class ForwardingApplicationImpl : public Application {
|
| class ForwardingContentHandler : public ApplicationDelegate,
|
| public ContentHandlerFactory::ManagedDelegate {
|
| public:
|
| - ForwardingContentHandler() : content_handler_factory_(this) {}
|
| + ForwardingContentHandler() {}
|
|
|
| private:
|
| // Overridden from ApplicationDelegate:
|
| bool ConfigureIncomingConnection(
|
| ServiceProviderImpl* service_provider_impl) override {
|
| service_provider_impl->AddService<ContentHandler>(
|
| - content_handler_factory_.GetInterfaceRequestHandler());
|
| + ContentHandlerFactory::GetInterfaceRequestHandler(this));
|
| return true;
|
| }
|
|
|
| @@ -80,8 +80,6 @@ class ForwardingContentHandler : public ApplicationDelegate,
|
| new ForwardingApplicationImpl(application_request.Pass(), target_url));
|
| }
|
|
|
| - ContentHandlerFactory content_handler_factory_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(ForwardingContentHandler);
|
| };
|
|
|
|
|