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

Unified Diff: mojo/converters/blink/blink_input_events_type_converters.cc

Issue 2052663004: Remove canScroll from WebMouseWheelEvent as it is unused now. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests 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
Index: mojo/converters/blink/blink_input_events_type_converters.cc
diff --git a/mojo/converters/blink/blink_input_events_type_converters.cc b/mojo/converters/blink/blink_input_events_type_converters.cc
index 9c7e63911ea646b46b9341c8cb42ab2992cd96b4..8d3dc09ca5226e348798f020bf949306ecda9340 100644
--- a/mojo/converters/blink/blink_input_events_type_converters.cc
+++ b/mojo/converters/blink/blink_input_events_type_converters.cc
@@ -165,7 +165,6 @@ std::unique_ptr<blink::WebInputEvent> BuildWebMouseWheelEventFrom(
// Add support for other wheel modes once ui::WheelEvent has support for them.
web_event->hasPreciseScrollingDeltas = false;
web_event->scrollByPage = false;
- web_event->canScroll = true;
return std::move(web_event);
}

Powered by Google App Engine
This is Rietveld 408576698