| Index: chrome/browser/android/vr_shell/textures/exit_warning_texture.cc
|
| diff --git a/chrome/browser/android/vr_shell/textures/exit_warning_texture.cc b/chrome/browser/android/vr_shell/textures/exit_warning_texture.cc
|
| index 866b694fcd8f9ad4d4a71c82a2abc57a39acb6d2..f3bdf5ab8e630cecc06cfcb5329e8c7d74209ff4 100644
|
| --- a/chrome/browser/android/vr_shell/textures/exit_warning_texture.cc
|
| +++ b/chrome/browser/android/vr_shell/textures/exit_warning_texture.cc
|
| @@ -43,7 +43,8 @@ void ExitWarningTexture::Draw(SkCanvas* sk_canvas,
|
| paint.setColor(kBackgroundColor);
|
| auto text =
|
| l10n_util::GetStringUTF16(IDS_PAGE_INFO_VR_BROWSER_UNSUPPORTED_MODE);
|
| - auto fonts = GetFontList(size_.width() * kFontSizeFactor, text);
|
| + gfx::FontList fonts;
|
| + GetFontList(size_.width() * kFontSizeFactor, text, &fonts);
|
| gfx::Rect text_size(size_.width() * kTextWidthFactor, 0);
|
|
|
| std::vector<std::unique_ptr<gfx::RenderText>> lines =
|
|
|