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

Unified Diff: chrome/browser/android/vr_shell/textures/insecure_content_permanent_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/insecure_content_permanent_texture.cc
diff --git a/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.cc b/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.cc
index c754ee2facae0b1bfbaf5eb2282266db4f97cd03..ba7d35a29d64969f25d9fdfc852e3fdfc4fbf426 100644
--- a/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.cc
+++ b/chrome/browser/android/vr_shell/textures/insecure_content_permanent_texture.cc
@@ -46,7 +46,8 @@ void InsecureContentPermanentTexture::Draw(SkCanvas* sk_canvas,
paint.setColor(kBackgroundColor);
auto text =
l10n_util::GetStringUTF16(IDS_PAGE_INFO_INSECURE_WEBVR_CONTENT_PERMANENT);
- 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