Index: chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc b/chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc |
index e5679c82dd3fc1e06c67e256f3640d8abde6c21d..c6cddca2de0f7c91348059ec9fed662b409d5e37 100644 |
--- a/chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc |
+++ b/chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc |
@@ -84,12 +84,11 @@ bool ScriptBubbleIconView::OnKeyPressed(const ui::KeyEvent& event) { |
return false; |
} |
-ui::EventResult ScriptBubbleIconView::OnGestureEvent(ui::GestureEvent* event) { |
+void ScriptBubbleIconView::OnGestureEvent(ui::GestureEvent* event) { |
if (event->type() == ui::ET_GESTURE_TAP) { |
ShowScriptBubble(this, location_bar_delegate_->GetWebContents()); |
- return ui::ER_CONSUMED; |
+ event->SetHandled(); |
} |
- return ui::ER_UNHANDLED; |
} |
void ScriptBubbleIconView::ShowScriptBubble(views::View* anchor_view, |