| Index: services/js/content_handler_main.cc
|
| diff --git a/services/js/content_handler_main.cc b/services/js/content_handler_main.cc
|
| index 5f305612fbec473ad106cf29a618f7634df80e56..9ed4f8479b0974d18c0d055b21ad8143e6016733 100644
|
| --- a/services/js/content_handler_main.cc
|
| +++ b/services/js/content_handler_main.cc
|
| @@ -17,7 +17,7 @@ namespace js {
|
| class JsContentHandler : public mojo::ApplicationDelegate,
|
| public mojo::ContentHandlerFactory::ManagedDelegate {
|
| public:
|
| - JsContentHandler() : content_handler_factory_(this) {}
|
| + JsContentHandler() {}
|
|
|
| private:
|
| // Overridden from mojo::ApplicationDelegate:
|
| @@ -33,7 +33,7 @@ class JsContentHandler : public mojo::ApplicationDelegate,
|
| bool ConfigureIncomingConnection(
|
| mojo::ServiceProviderImpl* service_provider_impl) override {
|
| service_provider_impl->AddService<mojo::ContentHandler>(
|
| - content_handler_factory_.GetInterfaceRequestHandler());
|
| + mojo::ContentHandlerFactory::GetInterfaceRequestHandler(this));
|
| return true;
|
| }
|
|
|
| @@ -46,8 +46,6 @@ class JsContentHandler : public mojo::ApplicationDelegate,
|
| new JSApp(application_request.Pass(), response.Pass()));
|
| }
|
|
|
| - mojo::ContentHandlerFactory content_handler_factory_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(JsContentHandler);
|
| };
|
|
|
|
|