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

Unified Diff: ui/gfx/platform_font_linux.cc

Issue 929733002: Fix Pango font rendering with HiDPi displays on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Pango font rendering with HiDPi displays on Linux Created 5 years, 9 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.cc
diff --git a/ui/gfx/platform_font_linux.cc b/ui/gfx/platform_font_linux.cc
index 2f1bbf14b8e1804e42f15374f7049546f58de267..2a1cb41dd789dec60d4b6c2844ae73ee2b6190a0 100644
--- a/ui/gfx/platform_font_linux.cc
+++ b/ui/gfx/platform_font_linux.cc
@@ -91,7 +91,7 @@ PlatformFontLinux::PlatformFontLinux() {
#else
// On Linux, LinuxFontDelegate is used to query the native toolkit (e.g.
// GTK+) for the default UI font.
- const LinuxFontDelegate* delegate = LinuxFontDelegate::instance();
+ LinuxFontDelegate* delegate = LinuxFontDelegate::instance();
Daniel Erat 2015/03/19 17:11:44 you should be able to preserve the 'const' here
stapelberg 2015/03/19 17:20:56 Done.
if (delegate) {
delegate->GetDefaultFontDescription(
&family, &size_pixels, &style, &params);

Powered by Google App Engine
This is Rietveld 408576698