| Index: components/font_service/public/cpp/font_service_thread.cc
|
| diff --git a/components/font_service/public/cpp/font_service_thread.cc b/components/font_service/public/cpp/font_service_thread.cc
|
| index 81f8394eb81abb628979327b03b019d5e006059b..69aba5e1fa8451411eba0fa848f62a7ec0998ba8 100644
|
| --- a/components/font_service/public/cpp/font_service_thread.cc
|
| +++ b/components/font_service/public/cpp/font_service_thread.cc
|
| @@ -106,7 +106,7 @@ void FontServiceThread::MatchFamilyNameImpl(
|
|
|
| pending_waitable_events_.insert(done_event);
|
| font_service_->MatchFamilyName(
|
| - mojo::String(family_name), std::move(style),
|
| + family_name, std::move(style),
|
| base::Bind(&FontServiceThread::OnMatchFamilyNameComplete, this,
|
| done_event, out_valid, out_font_identity, out_family_name,
|
| out_style));
|
| @@ -119,7 +119,7 @@ void FontServiceThread::OnMatchFamilyNameComplete(
|
| SkString* out_family_name,
|
| SkFontStyle* out_style,
|
| mojom::FontIdentityPtr font_identity,
|
| - mojo::String family_name,
|
| + const std::string& family_name,
|
| mojom::TypefaceStylePtr style) {
|
| DCHECK_EQ(GetThreadId(), base::PlatformThread::CurrentId());
|
| pending_waitable_events_.erase(done_event);
|
|
|