| Index: mojo/services/html_viewer/html_viewer.cc
|
| diff --git a/mojo/services/html_viewer/html_viewer.cc b/mojo/services/html_viewer/html_viewer.cc
|
| index 279edc214a4983416a28dbace70ec44177c87171..e8b5c76314bbf01afa43a1b6b037f18a495b866b 100644
|
| --- a/mojo/services/html_viewer/html_viewer.cc
|
| +++ b/mojo/services/html_viewer/html_viewer.cc
|
| @@ -9,7 +9,6 @@
|
| #include "mojo/public/cpp/application/application_impl.h"
|
| #include "mojo/public/cpp/application/application_runner_chromium.h"
|
| #include "mojo/public/cpp/application/interface_factory_impl.h"
|
| -#include "mojo/public/cpp/application/service_provider_impl.h"
|
| #include "mojo/services/html_viewer/blink_platform_impl.h"
|
| #include "mojo/services/html_viewer/html_document_view.h"
|
| #include "mojo/services/public/interfaces/content_handler/content_handler.mojom.h"
|
| @@ -29,13 +28,9 @@ class ContentHandlerImpl : public InterfaceImpl<ContentHandler> {
|
| virtual void OnConnect(
|
| const mojo::String& url,
|
| URLResponsePtr response,
|
| - InterfaceRequest<ServiceProvider> service_provider) OVERRIDE {
|
| - ServiceProviderImpl* exported_services = new ServiceProviderImpl();
|
| - BindToRequest(exported_services, &service_provider);
|
| - scoped_ptr<ServiceProvider> remote(
|
| - exported_services->CreateRemoteServiceProvider());
|
| + InterfaceRequest<ServiceProvider> service_provider_request) OVERRIDE {
|
| new HTMLDocumentView(
|
| - response.Pass(), remote.Pass(), exported_services, shell_);
|
| + response.Pass(), service_provider_request.Pass(), shell_);
|
| }
|
|
|
| Shell* shell_;
|
|
|