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

Unified Diff: ui/views/views_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
Index: ui/views/views_switches.cc
diff --git a/ui/views/views_switches.cc b/ui/views/views_switches.cc
index df711c8ab54d8d4d9b5040ced624f3c3e605404a..41d2ce5089c7935ca49828830a915215e4e29d20 100644
--- a/ui/views/views_switches.cc
+++ b/ui/views/views_switches.cc
@@ -27,8 +27,8 @@ const char kEnableTransparentVisuals[] = "enable-transparent-visuals";
bool IsRectBasedTargetingEnabled() {
#if defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OS_LINUX)
- return !CommandLine::ForCurrentProcess()->
- HasSwitch(kDisableViewsRectBasedTargeting);
+ return !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ kDisableViewsRectBasedTargeting);
#else
return false;
#endif

Powered by Google App Engine
This is Rietveld 408576698