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

Unified Diff: ui/views/views_switches.cc

Issue 817653003: Update from https://crrev.com/309717 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/native_theme/native_theme_switches.cc ('k') | ui/wm/core/window_animations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_switches.cc
diff --git a/ui/views/views_switches.cc b/ui/views/views_switches.cc
index df711c8ab54d8d4d9b5040ced624f3c3e605404a..344f594fd97d94a64bbc47cfc4ace2d2fce68a93 100644
--- a/ui/views/views_switches.cc
+++ b/ui/views/views_switches.cc
@@ -27,7 +27,7 @@ const char kEnableTransparentVisuals[] = "enable-transparent-visuals";
bool IsRectBasedTargetingEnabled() {
#if defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OS_LINUX)
- return !CommandLine::ForCurrentProcess()->
+ return !base::CommandLine::ForCurrentProcess()->
HasSwitch(kDisableViewsRectBasedTargeting);
#else
return false;
« no previous file with comments | « ui/native_theme/native_theme_switches.cc ('k') | ui/wm/core/window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698