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

Unified Diff: ui/gfx/platform_font_linux.h

Issue 1870873003: Remove screen dependency from font_render_params_linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/platform_font_linux.h
diff --git a/ui/gfx/platform_font_linux.h b/ui/gfx/platform_font_linux.h
index 52c4bceb76e82e590d5cd4aaa158a19a29b5b4ad..e990f33b1ed0cd02a68790a433d2b26718faaf3e 100644
--- a/ui/gfx/platform_font_linux.h
+++ b/ui/gfx/platform_font_linux.h
@@ -84,9 +84,7 @@ class GFX_EXPORT PlatformFontLinux : public PlatformFont {
std::string font_family_;
int font_size_pixels_;
int style_;
-#if defined(OS_CHROMEOS)
float device_scale_factor_;
-#endif
// Information describing how the font should be rendered.
FontRenderParams font_render_params_;

Powered by Google App Engine
This is Rietveld 408576698