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

Unified Diff: ui/events/blink/input_scroll_elasticity_controller.cc

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Rebase Created 3 years, 11 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: ui/events/blink/input_scroll_elasticity_controller.cc
diff --git a/ui/events/blink/input_scroll_elasticity_controller.cc b/ui/events/blink/input_scroll_elasticity_controller.cc
index 744c1bcf24745f661ed5d26eaa272852bf7cfd0f..dea30df2ad4ea2c13ce169600beba81574ae9e25 100644
--- a/ui/events/blink/input_scroll_elasticity_controller.cc
+++ b/ui/events/blink/input_scroll_elasticity_controller.cc
@@ -111,9 +111,9 @@ void InputScrollElasticityController::ObserveGestureEventAndResult(
const cc::InputHandlerScrollResult& scroll_result) {
base::TimeTicks event_timestamp =
base::TimeTicks() +
- base::TimeDelta::FromSecondsD(gesture_event.timeStampSeconds);
+ base::TimeDelta::FromSecondsD(gesture_event.timeStampSeconds());
- switch (gesture_event.type) {
+ switch (gesture_event.type()) {
case blink::WebInputEvent::GestureScrollBegin: {
if (gesture_event.data.scrollBegin.synthetic)
return;

Powered by Google App Engine
This is Rietveld 408576698