| Index: components/font_service/font_service_app.cc
|
| diff --git a/components/font_service/font_service_app.cc b/components/font_service/font_service_app.cc
|
| index 7618296a4a197a6bdb8526e80df40b6bb9148191..8636c7c83f899a03ec79997abaf32159d669e0de 100644
|
| --- a/components/font_service/font_service_app.cc
|
| +++ b/components/font_service/font_service_app.cc
|
| @@ -9,7 +9,7 @@
|
| #include "base/files/file.h"
|
| #include "base/files/file_path.h"
|
| #include "mojo/platform_handle/platform_handle_functions.h"
|
| -#include "mojo/shell/public/cpp/application_connection.h"
|
| +#include "mojo/shell/public/cpp/connection.h"
|
|
|
| static_assert(static_cast<uint32_t>(SkTypeface::kNormal) ==
|
| static_cast<uint32_t>(font_service::TypefaceStyle::NORMAL),
|
| @@ -63,13 +63,12 @@ void FontServiceApp::Initialize(mojo::Shell* shell, const std::string& url,
|
| tracing_.Initialize(shell, url);
|
| }
|
|
|
| -bool FontServiceApp::AcceptConnection(
|
| - mojo::ApplicationConnection* connection) {
|
| +bool FontServiceApp::AcceptConnection(mojo::Connection* connection) {
|
| connection->AddService(this);
|
| return true;
|
| }
|
|
|
| -void FontServiceApp::Create(mojo::ApplicationConnection* connection,
|
| +void FontServiceApp::Create(mojo::Connection* connection,
|
| mojo::InterfaceRequest<FontService> request) {
|
| bindings_.AddBinding(this, std::move(request));
|
| }
|
|
|