| Index: components/html_viewer/html_viewer.cc
|
| diff --git a/components/html_viewer/html_viewer.cc b/components/html_viewer/html_viewer.cc
|
| index d4750385d0790970b49e5f5c5ec5388f913003bc..62fcf525228b7a286bd1ad6f7b059f459d815a28 100644
|
| --- a/components/html_viewer/html_viewer.cc
|
| +++ b/components/html_viewer/html_viewer.cc
|
| @@ -8,7 +8,7 @@
|
|
|
| #include "components/html_viewer/content_handler_impl.h"
|
| #include "components/html_viewer/global_state.h"
|
| -#include "mojo/shell/public/cpp/application_connection.h"
|
| +#include "mojo/shell/public/cpp/connection.h"
|
|
|
| namespace html_viewer {
|
|
|
| @@ -24,14 +24,13 @@ void HTMLViewer::Initialize(mojo::Shell* shell, const std::string& url,
|
| global_state_.reset(new GlobalState(shell, url));
|
| }
|
|
|
| -bool HTMLViewer::AcceptConnection(
|
| - mojo::ApplicationConnection* connection) {
|
| +bool HTMLViewer::AcceptConnection(mojo::Connection* connection) {
|
| connection->AddService(this);
|
| return true;
|
| }
|
|
|
| void HTMLViewer::Create(
|
| - mojo::ApplicationConnection* connection,
|
| + mojo::Connection* connection,
|
| mojo::InterfaceRequest<mojo::shell::mojom::ContentHandler> request) {
|
| new ContentHandlerImpl(global_state_.get(), shell_, std::move(request));
|
| }
|
|
|