Index: components/test_runner/event_sender.cc |
diff --git a/components/test_runner/event_sender.cc b/components/test_runner/event_sender.cc |
index 1f46de6c765f2d35930c31143f3c2e1deb198a9f..56ca837a1b29aaac6b964702951973bb2bf83c63 100644 |
--- a/components/test_runner/event_sender.cc |
+++ b/components/test_runner/event_sender.cc |
@@ -1196,7 +1196,6 @@ EventSender::SavedEvent::SavedEvent() |
EventSender::EventSender(WebTestProxyBase* web_test_proxy_base) |
: web_test_proxy_base_(web_test_proxy_base), |
- send_wheel_gestures_(false), |
replaying_saved_events_(false), |
weak_factory_(this) { |
Reset(); |
@@ -2547,7 +2546,7 @@ void EventSender::InitMouseWheelEvent(gin::Arguments* args, |
} |
} |
} |
- if (can_scroll && send_wheel_gestures_) { |
+ if (can_scroll) { |
can_scroll = false; |
*send_gestures = true; |
} |