Index: chrome/browser/ui/views/location_bar/zoom_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/zoom_view.cc b/chrome/browser/ui/views/location_bar/zoom_view.cc |
index 44ccf1228e41b46d19544296c33b7ee9b7dcb02e..78be1e573e3c8dc8e63a0970f9939f48993fe692 100644 |
--- a/chrome/browser/ui/views/location_bar/zoom_view.cc |
+++ b/chrome/browser/ui/views/location_bar/zoom_view.cc |
@@ -73,12 +73,11 @@ bool ZoomView::OnKeyPressed(const ui::KeyEvent& event) { |
return true; |
} |
-ui::EventResult ZoomView::OnGestureEvent(ui::GestureEvent* event) { |
- if (event->type() != ui::ET_GESTURE_TAP) |
- return ui::ER_UNHANDLED; |
- |
- ActivateBubble(); |
- return ui::ER_CONSUMED; |
+void ZoomView::OnGestureEvent(ui::GestureEvent* event) { |
+ if (event->type() == ui::ET_GESTURE_TAP) { |
+ ActivateBubble(); |
+ event->SetHandled(); |
+ } |
} |
int ZoomView::GetBuiltInHorizontalPadding() const { |