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

Unified Diff: chrome/browser/android/vr_shell/textures/insecure_content_transient_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_transient_texture.cc
diff --git a/chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.cc b/chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.cc
index 0fd603da6e2753380eec04eba6d9257766fbe733..536bb8dc74979936376e7f506ce5e0d7fc440caa 100644
--- a/chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.cc
+++ b/chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.cc
@@ -43,7 +43,8 @@ void InsecureContentTransientTexture::Draw(SkCanvas* sk_canvas,
paint.setColor(kBackgroundColor);
auto text =
l10n_util::GetStringUTF16(IDS_PAGE_INFO_INSECURE_WEBVR_CONTENT_TRANSIENT);
- 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 =

Powered by Google App Engine
This is Rietveld 408576698