Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: chrome/browser/android/vr_shell/textures/system_indicator_texture.cc

Issue 2914543002: [vr] Bail on unhandled code points. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/vr_shell/textures/system_indicator_texture.cc
diff --git a/chrome/browser/android/vr_shell/textures/system_indicator_texture.cc b/chrome/browser/android/vr_shell/textures/system_indicator_texture.cc
index d0634be44b2bcd9d4696b20117f1abc4fb5a964b..f91a471d159d2cd15ab7cd2301cbaa052b4e094c 100644
--- a/chrome/browser/android/vr_shell/textures/system_indicator_texture.cc
+++ b/chrome/browser/android/vr_shell/textures/system_indicator_texture.cc
@@ -50,7 +50,8 @@ void SystemIndicatorTexture::Draw(SkCanvas* sk_canvas,
base::string16 text = l10n_util::GetStringUTF16(message_id_);
- auto fonts = GetFontList(size_.height() * kFontSizeFactor, text);
+ gfx::FontList fonts;
+ GetFontList(size_.height() * kFontSizeFactor, text, &fonts);
gfx::Rect text_size(0, kTextHeightFactor * size_.height());
std::vector<std::unique_ptr<gfx::RenderText>> lines =

Powered by Google App Engine
This is Rietveld 408576698