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

Unified Diff: chrome/browser/ui/views/location_bar/page_action_image_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/page_action_image_view.cc
diff --git a/chrome/browser/ui/views/location_bar/page_action_image_view.cc b/chrome/browser/ui/views/location_bar/page_action_image_view.cc
index 0d9f5f63a87210e46780680a018cdb86573dcc0d..c9a48fd406b0da17074e59c2d390cef3364a7dc5 100644
--- a/chrome/browser/ui/views/location_bar/page_action_image_view.cc
+++ b/chrome/browser/ui/views/location_bar/page_action_image_view.cc
@@ -169,7 +169,7 @@ bool PageActionImageView::OnMousePressed(const views::MouseEvent& event) {
}
void PageActionImageView::OnMouseReleased(const views::MouseEvent& event) {
- if (!HitTest(event.location()))
+ if (!HitTestPoint(event.location()))
return;
int button = -1;

Powered by Google App Engine
This is Rietveld 408576698