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

Unified Diff: ui/native_theme/native_theme_switches.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/message_center/views/message_center_view.cc ('k') | ui/ozone/common/display_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_switches.cc
diff --git a/ui/native_theme/native_theme_switches.cc b/ui/native_theme/native_theme_switches.cc
index ba46d18b6c81b208e5a231b2bfab6b59a8e37b1e..873af518985c1dc6226256118424e2a6493dd086 100644
--- a/ui/native_theme/native_theme_switches.cc
+++ b/ui/native_theme/native_theme_switches.cc
@@ -18,7 +18,8 @@ const char kDisableOverlayScrollbar[] = "disable-overlay-scrollbar";
namespace ui {
bool IsOverlayScrollbarEnabled() {
- const CommandLine& command_line = *CommandLine::ForCurrentProcess();
+ const base::CommandLine& command_line =
+ *base::CommandLine::ForCurrentProcess();
if (command_line.HasSwitch(switches::kDisableOverlayScrollbar))
return false;
« no previous file with comments | « ui/message_center/views/message_center_view.cc ('k') | ui/ozone/common/display_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698