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

Unified Diff: chrome/browser/ui/browser_command_controller.cc

Issue 816403003: 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 | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/browser_command_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_command_controller.cc
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
index d1e5f5fafe62d7aaabd1ba1a98a85fae1288a074..b0ce210b3c06432e521016eb3b7321dc02743a26 100644
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -1015,9 +1015,8 @@ void BrowserCommandController::InitCommandState() {
// Distill current page.
command_updater_.UpdateCommandEnabled(
- IDC_DISTILL_PAGE,
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableDomDistiller));
+ IDC_DISTILL_PAGE, base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableDomDistiller));
// Initialize other commands whose state changes based on various conditions.
UpdateCommandsForFullscreenMode();
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/browser_command_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698