Commit e0403887 authored by Xida Chen's avatar Xida Chen Committed by Commit Bot

[Code cleanup] Fix a typo in input_router_impl.cc

This CL corrects a typo in input_router_impl.cc, it doesn't introduce
any behavior change.

TBR=nzolghadr@chromium.org

Bug: None
Change-Id: I899b936cafbd61215a30f39f53d2514b570fcda2
Reviewed-on: https://chromium-review.googlesource.com/1255572Reviewed-by: default avatarXida Chen <xidachen@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595885}
parent 31783d1f
......@@ -182,10 +182,10 @@ void InputRouterImpl::SendGestureEvent(
void InputRouterImpl::SendTouchEvent(
const TouchEventWithLatencyInfo& touch_event) {
TouchEventWithLatencyInfo updatd_touch_event = touch_event;
SetMovementXYForTouchPoints(&updatd_touch_event.event);
input_stream_validator_.Validate(updatd_touch_event.event);
touch_event_queue_.QueueEvent(updatd_touch_event);
TouchEventWithLatencyInfo updated_touch_event = touch_event;
SetMovementXYForTouchPoints(&updated_touch_event.event);
input_stream_validator_.Validate(updated_touch_event.event);
touch_event_queue_.QueueEvent(updated_touch_event);
}
void InputRouterImpl::NotifySiteIsMobileOptimized(bool is_mobile_optimized) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment