| Index: ui/base/font_helper_chromeos.cc
|
| diff --git a/ui/base/font_helper_chromeos.cc b/ui/base/font_helper_chromeos.cc
|
| index dc7fb07c202987ecd767c606bb19d348ebe99494..9711c732743b040b813e8244411b162b1564db5f 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::kEnableRobotoFontUI)) {
|
| + if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableRobotoFontUI)) {
|
| 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);
|
|
|