Index: content/common/input/input_event_utils.cc |
diff --git a/content/common/input/input_event_utils.cc b/content/common/input/input_event_utils.cc |
index 925452f56d9bb821465afb28bac9dde72f0813a8..6154dc74b00959f95b266161573dd0b46a9e046e 100644 |
--- a/content/common/input/input_event_utils.cc |
+++ b/content/common/input/input_event_utils.cc |
@@ -11,7 +11,11 @@ namespace content { |
bool UseGestureBasedWheelScrolling() { |
base::CommandLine* cmd = base::CommandLine::ForCurrentProcess(); |
+#if defined(OS_MACOSX) |
return cmd->HasSwitch(switches::kEnableWheelGestures); |
+#else |
+ return !cmd->HasSwitch(switches::kDisableWheelGestures); |
+#endif |
} |
} // namespace content |