| Index: chrome/browser/android/vr_shell/textures/ui_texture.cc
|
| diff --git a/chrome/browser/android/vr_shell/textures/ui_texture.cc b/chrome/browser/android/vr_shell/textures/ui_texture.cc
|
| index 36cab83305e983ae31bb12f71fad40df5287a19d..3b0743239bb1edb9ba772efe3ed8168d085e5f2a 100644
|
| --- a/chrome/browser/android/vr_shell/textures/ui_texture.cc
|
| +++ b/chrome/browser/android/vr_shell/textures/ui_texture.cc
|
| @@ -55,6 +55,9 @@ gfx::FontList UiTexture::GetFontList(int size, base::string16 text) {
|
| sk_sp<SkTypeface> tf(font_mgr->matchFamilyStyleCharacter(
|
| default_font.GetFontName().c_str(), SkFontStyle(), nullptr, 0,
|
| it.get()));
|
| + // TODO(acondor): How should we handle no matching font?
|
| + if (!tf)
|
| + continue;
|
| SkString sk_name;
|
| tf->getFamilyName(&sk_name);
|
| std::string name(sk_name.c_str());
|
|
|