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

Unified Diff: ui/gfx/platform_font_gtk.cc

Issue 7739016: aura-views: Make views_aura_desktop compile and run on linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 3 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
« no previous file with comments | « ui/gfx/canvas_skia_linux.cc ('k') | views/aura_desktop/aura_desktop_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/platform_font_gtk.cc
diff --git a/ui/gfx/platform_font_gtk.cc b/ui/gfx/platform_font_gtk.cc
index 05e43fec76095421008ab60e409196df6db04ffb..dad26f753903706226ac531807e1a40871c26635 100644
--- a/ui/gfx/platform_font_gtk.cc
+++ b/ui/gfx/platform_font_gtk.cc
@@ -114,7 +114,7 @@ string16 FindBestMatchFontFamilyName(const char* family_name) {
}
std::string GetDefaultFont() {
-#if defined(USE_WAYLAND)
+#if defined(USE_WAYLAND) || defined(USE_AURA)
return "sans 10";
#else
GtkSettings* settings = gtk_settings_get_default();
« no previous file with comments | « ui/gfx/canvas_skia_linux.cc ('k') | views/aura_desktop/aura_desktop_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698