Index: chrome/browser/ui/views/location_bar/star_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/star_view.cc b/chrome/browser/ui/views/location_bar/star_view.cc |
index 9a926d7db37766a2a2acd37b2adba516526ef24a..52dd32a79f1f3a3aab2ff1b1d747900c8758130e 100644 |
--- a/chrome/browser/ui/views/location_bar/star_view.cc |
+++ b/chrome/browser/ui/views/location_bar/star_view.cc |
@@ -57,7 +57,8 @@ bool StarView::OnMousePressed(const views::MouseEvent& event) { |
} |
void StarView::OnMouseReleased(const views::MouseEvent& event) { |
- if (event.IsOnlyLeftMouseButton() && HitTest(event.location())) |
+ if (event.IsOnlyLeftMouseButton() && |
+ HitTest(gfx::Rect(event.location(), gfx::Size(0, 0)))) |
command_updater_->ExecuteCommand(IDC_BOOKMARK_PAGE); |
} |