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

Unified Diff: chrome/browser/ui/tab_contents/core_tab_helper.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/sync/sync_promo_ui_unittest.cc ('k') | chrome/browser/ui/tab_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_contents/core_tab_helper.cc
diff --git a/chrome/browser/ui/tab_contents/core_tab_helper.cc b/chrome/browser/ui/tab_contents/core_tab_helper.cc
index 7305c7368989d5b7605502e478245593f361b8da..78b13a62a11dccc791be96eb812b825cba56bd58 100644
--- a/chrome/browser/ui/tab_contents/core_tab_helper.cc
+++ b/chrome/browser/ui/tab_contents/core_tab_helper.cc
@@ -150,8 +150,9 @@ void CoreTabHelper::WasShown() {
void CoreTabHelper::WebContentsDestroyed() {
// OnCloseStarted isn't called in unit tests.
if (!close_start_time_.is_null()) {
- bool fast_tab_close_enabled = CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableFastUnload);
+ bool fast_tab_close_enabled =
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableFastUnload);
if (fast_tab_close_enabled) {
base::TimeTicks now = base::TimeTicks::Now();
« no previous file with comments | « chrome/browser/ui/sync/sync_promo_ui_unittest.cc ('k') | chrome/browser/ui/tab_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698