diff options
Diffstat (limited to 'ui/base/gestures/gesture_recognizer_impl.cc')
-rw-r--r-- | ui/base/gestures/gesture_recognizer_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/base/gestures/gesture_recognizer_impl.cc b/ui/base/gestures/gesture_recognizer_impl.cc index ead6aa0..bd29c46 100644 --- a/ui/base/gestures/gesture_recognizer_impl.cc +++ b/ui/base/gestures/gesture_recognizer_impl.cc @@ -95,7 +95,7 @@ GestureRecognizerImpl::~GestureRecognizerImpl() { } GestureConsumer* GestureRecognizerImpl::GetTouchLockedTarget( - TouchEvent* event) { + TouchEvent* event) { return touch_id_target_[event->GetTouchId()]; } @@ -120,7 +120,7 @@ GestureConsumer* GestureRecognizerImpl::GetTargetForLocation( gfx::Point delta = points[j].last_touch_position().Subtract(location); int distance = delta.x() * delta.x() + delta.y() * delta.y(); - if ( !closest_point || distance < closest_distance_squared ) { + if (!closest_point || distance < closest_distance_squared) { closest_point = &points[j]; closest_distance_squared = distance; } |