Index: ui/views/widget/root_view.cc |
diff --git a/ui/views/widget/root_view.cc b/ui/views/widget/root_view.cc |
index a8f4ef6ffc7c07efd5dffbea7f7476733c160c4e..f6ac343bbb7c710fbc20dabd54d0c5efbabf87c7 100644 |
--- a/ui/views/widget/root_view.cc |
+++ b/ui/views/widget/root_view.cc |
@@ -414,17 +414,17 @@ ui::GestureStatus RootView::OnGestureEvent(const GestureEvent& event) { |
// The view could have removed itself from the tree when handling |
// OnGestureEvent(). So handle as per OnMousePressed. NB: we |
// assume that the RootView itself cannot be so removed. |
- if (!gesture_handling_view_) return ui::GESTURE_STATUS_UNKNOWN; |
+ if (!gesture_handling_view_) |
+ return ui::GESTURE_STATUS_UNKNOWN; |
// The gesture event wasn't processed. Go up the view hierarchy and |
// dispatch the gesture event. |
- if (status == ui::GESTURE_STATUS_UNKNOWN) { |
+ if (status == ui::GESTURE_STATUS_UNKNOWN) |
continue; |
- } else if (status == ui::GESTURE_STATUS_CONSUMED) { |
+ else if (status == ui::GESTURE_STATUS_CONSUMED) |
return status; |
- } else { |
+ else |
return ui::GESTURE_STATUS_UNKNOWN; |
- } |
} |
return status; |
} |