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

Unified Diff: ui/gfx/font_render_params.h

Issue 2817663003: Rendering text on insecure-site warnings for WebVR (Closed)
Patch Set: Using enable_vr flag. Created 3 years, 8 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: ui/gfx/font_render_params.h
diff --git a/ui/gfx/font_render_params.h b/ui/gfx/font_render_params.h
index f451cd1fa32116513460fc3d773c15f6ef31a818..24200a7616f9f3814d0098d6cd2ae7e01022559c 100644
--- a/ui/gfx/font_render_params.h
+++ b/ui/gfx/font_render_params.h
@@ -112,7 +112,7 @@ GFX_EXPORT FontRenderParams GetFontRenderParams(
GFX_EXPORT void ClearFontRenderParamsCacheForTest();
#endif
-#if defined(OS_CHROMEOS) || defined(OS_LINUX)
+#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_ANDROID)
mthiesse 2017/04/13 14:16:51 You would need to also include ENABLE_VR here or y
sadrul 2017/04/13 14:57:55 I think if you add ENABLE_VR, then you won't need
acondor_ 2017/04/18 20:59:04 Added ENABLE_VR check. mthiesse, what are your tho
// Gets the device scale factor to query the FontRenderParams.
GFX_EXPORT float GetFontRenderParamsDeviceScaleFactor();
« ui/gfx/BUILD.gn ('K') | « ui/gfx/BUILD.gn ('k') | ui/gfx/font_render_params_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698