Index: components/html_viewer/html_document.h |
diff --git a/components/html_viewer/html_document.h b/components/html_viewer/html_document.h |
index 453d2dfacb66fd01ef4ab9a8c72e0c4c9fc18bac..b24f2b39503a9709330f2d8c8ad0eb8ee33f448d 100644 |
--- a/components/html_viewer/html_document.h |
+++ b/components/html_viewer/html_document.h |
@@ -64,7 +64,7 @@ class HTMLDocument |
// |connection| the specific connection triggering this new instance. |
// |setup| is used to obtain init type state (such as resources). |
HTMLDocument(mojo::Shell* html_document_shell, |
- mojo::ApplicationConnection* connection, |
+ mojo::Connection* connection, |
mojo::URLResponsePtr response, |
GlobalState* setup, |
const DeleteCallback& delete_callback, |
@@ -119,31 +119,31 @@ class HTMLDocument |
void OnFrameDestroyed() override; |
// mojo::InterfaceFactory<mojo::AxProvider>: |
- void Create(mojo::ApplicationConnection* connection, |
+ void Create(mojo::Connection* connection, |
mojo::InterfaceRequest<mojo::AxProvider> request) override; |
// mojo::InterfaceFactory<web_view::mojom::FrameClient>: |
void Create( |
- mojo::ApplicationConnection* connection, |
+ mojo::Connection* connection, |
mojo::InterfaceRequest<web_view::mojom::FrameClient> request) override; |
// mojo::InterfaceFactory<TestHTMLViewer>: |
- void Create(mojo::ApplicationConnection* connection, |
+ void Create(mojo::Connection* connection, |
mojo::InterfaceRequest<TestHTMLViewer> request) override; |
// mojo::InterfaceFactory<devtools_service::DevToolsAgent>: |
void Create( |
- mojo::ApplicationConnection* connection, |
+ mojo::Connection* connection, |
mojo::InterfaceRequest<devtools_service::DevToolsAgent> request) override; |
// mojo::InterfaceFactory<mus::WindowTreeClient>: |
void Create( |
- mojo::ApplicationConnection* connection, |
+ mojo::Connection* connection, |
mojo::InterfaceRequest<mus::mojom::WindowTreeClient> request) override; |
scoped_ptr<mojo::AppRefCount> app_refcount_; |
mojo::Shell* html_document_shell_; |
- mojo::ApplicationConnection* connection_; |
+ mojo::Connection* connection_; |
// HTMLDocument owns these pointers; binding requests after document load. |
std::set<AxProviderImpl*> ax_providers_; |