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

Unified Diff: ui/base/font_helper_chromeos.cc

Issue 889533002: Revert "Enable Roboto by default for testing purpose." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/font_helper_chromeos.h ('k') | ui/base/ui_base_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/font_helper_chromeos.cc
diff --git a/ui/base/font_helper_chromeos.cc b/ui/base/font_helper_chromeos.cc
index 9711c732743b040b813e8244411b162b1564db5f..dc7fb07c202987ecd767c606bb19d348ebe99494 100644
--- a/ui/base/font_helper_chromeos.cc
+++ b/ui/base/font_helper_chromeos.cc
@@ -10,8 +10,8 @@
namespace ui {
void ReplaceNotoSansWithRobotoIfEnabled(std::string* font_family) {
- if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableRobotoFontUI)) {
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableRobotoFontUI)) {
static const char kNotoSansUI[] = "Noto Sans UI";
static const size_t kNotoSansUILen = arraysize(kNotoSansUI) - 1;
std::string::size_type noto_position = font_family->find(kNotoSansUI);
« no previous file with comments | « ui/base/font_helper_chromeos.h ('k') | ui/base/ui_base_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698