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

Unified Diff: ui/base/font_helper_chromeos.cc

Issue 819223002: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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/cocoa/remote_layer_api.mm ('k') | ui/base/ime/chromeos/component_extension_ime_manager.cc » ('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 6a77cf273d9ab6ed2cc0c9ea2fbd4abf459d30a5..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 (CommandLine::ForCurrentProcess()->
- HasSwitch(switches::kEnableRobotoFontUI)) {
+ 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/cocoa/remote_layer_api.mm ('k') | ui/base/ime/chromeos/component_extension_ime_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698