Index: content/renderer/gpu/render_widget_compositor.cc |
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc |
index 10eb1186b4e4110a02dedfb10b0ca59c05335f8b..79bda8eeffbb748e78b5877a64c2f306f9d1db5a 100644 |
--- a/content/renderer/gpu/render_widget_compositor.cc |
+++ b/content/renderer/gpu/render_widget_compositor.cc |
@@ -44,6 +44,7 @@ |
#include "components/scheduler/renderer/renderer_scheduler.h" |
#include "content/common/content_switches_internal.h" |
#include "content/common/gpu/client/context_provider_command_buffer.h" |
+#include "content/common/input/input_event_utils.h" |
#include "content/public/common/content_client.h" |
#include "content/public/common/content_switches.h" |
#include "content/renderer/gpu/render_widget_compositor_delegate.h" |
@@ -249,6 +250,7 @@ |
} |
settings.main_frame_before_activation_enabled = |
cmd->HasSwitch(cc::switches::kEnableMainFrameBeforeActivation); |
+ settings.use_mouse_wheel_gestures = UseGestureBasedWheelScrolling(); |
settings.default_tile_size = CalculateDefaultTileSize(device_scale_factor); |
if (cmd->HasSwitch(switches::kDefaultTileWidth)) { |