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

Unified Diff: components/test_runner/event_sender.cc

Issue 2047093002: Remove enable/disable wheel gestures setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@can_scroll_remove
Patch Set: Remove unused, uninitialized variable on mac causing occasional failure Created 4 years, 6 months 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 | « components/test_runner/event_sender.h ('k') | components/test_runner/web_test_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « components/test_runner/event_sender.h ('k') | components/test_runner/web_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698