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

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

Issue 1130613002: Clean up Noto Sans UI stuff. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address jshin@'s comments. Created 5 years, 7 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/font_helper_chromeos.cc ('k') | ui/base/ui_base.gyp » ('j') | 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 755307c6ff2d3f234819b9efe942d03e9871c333..665b580a6d7253274442a4860e13ab7c67db7a32 100644
--- a/ui/base/resource/resource_bundle.cc
+++ b/ui/base/resource/resource_bundle.cc
@@ -41,7 +41,6 @@
#endif
#if defined(OS_CHROMEOS)
-#include "ui/base/font_helper_chromeos.h"
#include "ui/gfx/platform_font_linux.h"
#endif
@@ -674,7 +673,6 @@ void ResourceBundle::InitDefaultFontList() {
#if defined(OS_CHROMEOS)
std::string font_family = base::UTF16ToUTF8(
GetLocalizedString(IDS_UI_FONT_FAMILY_CROS));
- ui::ReplaceNotoSansWithRobotoIfEnabled(&font_family);
gfx::FontList::SetDefaultFontDescription(font_family);
// TODO(yukishiino): Remove SetDefaultFontDescription() once the migration to
« no previous file with comments | « ui/base/font_helper_chromeos.cc ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698