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

Unified Diff: ui/base/resource/resource_bundle.cc

Issue 400793002: Makes embedded content shell build without pango (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle.cc
diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc
index b2be5e460c2a7eff2d0acf2f90bb3e6cef5d4555..22b4ff34189b62bbe15410fd1cc190817ccffe47 100644
--- a/ui/base/resource/resource_bundle.cc
+++ b/ui/base/resource/resource_bundle.cc
@@ -68,7 +68,7 @@ const unsigned char kPngDataChunkType[4] = { 'I', 'D', 'A', 'T' };
ResourceBundle* g_shared_instance_ = NULL;
void InitDefaultFontList() {
-#if defined(OS_CHROMEOS)
+#if defined(OS_CHROMEOS) && (!defined(USE_OZONE) || defined(USE_PANGO))
spang 2014/07/17 18:53:44 you don't need the ozone part. Just #if defined(
varkha 2014/07/17 18:57:48 Done.
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
std::string font_family = base::UTF16ToUTF8(
rb.GetLocalizedString(IDS_UI_FONT_FAMILY_CROS));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698