| 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 d59b158ab51cfd4e03b85c0d6a62bc877168e1f4..1bd0a197dd71a91e7a736cdc7cf3c98c83ff874b 100644
|
| --- a/components/font_service/font_service_app.cc
|
| +++ b/components/font_service/font_service_app.cc
|
| @@ -10,6 +10,8 @@
|
| #include "base/files/file_path.h"
|
| #include "mojo/public/cpp/system/platform_handle.h"
|
| #include "services/service_manager/public/cpp/connection.h"
|
| +#include "services/service_manager/public/cpp/interface_registry.h"
|
| +#include "services/service_manager/public/cpp/service_context.h"
|
|
|
| static_assert(
|
| static_cast<uint32_t>(SkFontStyle::kUpright_Slant) ==
|
| @@ -48,8 +50,8 @@ FontServiceApp::FontServiceApp() {}
|
|
|
| FontServiceApp::~FontServiceApp() {}
|
|
|
| -void FontServiceApp::OnStart(const service_manager::ServiceInfo& info) {
|
| - tracing_.Initialize(connector(), info.identity.name());
|
| +void FontServiceApp::OnStart(service_manager::ServiceContext* context) {
|
| + tracing_.Initialize(context->connector(), context->identity().name());
|
| }
|
|
|
| bool FontServiceApp::OnConnect(const service_manager::ServiceInfo& remote_info,
|
|
|