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

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

Issue 135963010: Prepare to enable icu_use_data_file_flat on CrOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UTF18 -> UTF8 Created 6 years, 11 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/base/l10n/l10n_util.cc ('k') | 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 2cfe06cc11c2a7ecf6b81a1f75ed8508c781de1e..54441cf9ab37694ab6590791f9432447f30e9c28 100644
--- a/ui/base/resource/resource_bundle.cc
+++ b/ui/base/resource/resource_bundle.cc
@@ -69,13 +69,13 @@ ResourceBundle* g_shared_instance_ = NULL;
void InitDefaultFontList() {
#if defined(OS_CHROMEOS)
gfx::FontList::SetDefaultFontDescription(
- l10n_util::GetStringUTF8(IDS_UI_FONT_FAMILY_CROS));
+ l10n_util::GetStringUTF8Raw(IDS_UI_FONT_FAMILY_CROS));
tony 2014/01/28 00:32:47 Can we call: ResourceBundle& rb = ResourceBundle::
// TODO(yukishiino): Remove SetDefaultFontDescription() once the migration to
// the font list is done. We will no longer need SetDefaultFontDescription()
// after every client gets started using a FontList instead of a Font.
gfx::PlatformFontPango::SetDefaultFontDescription(
- l10n_util::GetStringUTF8(IDS_UI_FONT_FAMILY_CROS));
+ l10n_util::GetStringUTF8Raw(IDS_UI_FONT_FAMILY_CROS));
#else
// Use a single default font as the default font list.
gfx::FontList::SetDefaultFontDescription(std::string());
« no previous file with comments | « ui/base/l10n/l10n_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698