Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1002)

Unified Diff: chrome/browser/ui/views/location_bar/zoom_view.cc

Issue 10827198: Change View::HitTest to View::HitTestRect (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed errors reported by trybots Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c99d649848bbc26ae0b6892e67a998882962efaa..64081596fda56e892342be7118c864aadeba5ca6 100644
--- a/chrome/browser/ui/views/location_bar/zoom_view.cc
+++ b/chrome/browser/ui/views/location_bar/zoom_view.cc
@@ -73,7 +73,7 @@ bool ZoomView::OnMousePressed(const views::MouseEvent& event) {
}
void ZoomView::OnMouseReleased(const views::MouseEvent& event) {
- if (event.IsOnlyLeftMouseButton() && HitTest(event.location())) {
+ if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location())) {
ZoomBubbleView::ShowBubble(
this, location_bar_delegate_->GetTabContents(), false);
}
« no previous file with comments | « chrome/browser/ui/views/location_bar/star_view.cc ('k') | chrome/browser/ui/views/omnibox/inline_omnibox_popup_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698