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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window.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
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/candidate_window.cc
diff --git a/chrome/browser/chromeos/input_method/candidate_window.cc b/chrome/browser/chromeos/input_method/candidate_window.cc
index 6dce7ecebf2e6fca96ee41f94f4d8ea2f68f2a4a..5e21e4951c99ac3ab69f6965260897387ba839ab 100644
--- a/chrome/browser/chromeos/input_method/candidate_window.cc
+++ b/chrome/browser/chromeos/input_method/candidate_window.cc
@@ -1185,7 +1185,7 @@ void CandidateWindowView::OnCandidatePressed(
gfx::Point converted_location = location;
views::View::ConvertPointToView(this, candidate_views_[i],
&converted_location);
- if (candidate_views_[i]->HitTest(converted_location)) {
+ if (candidate_views_[i]->HitTestPoint(converted_location)) {
SelectCandidateAt(i);
break;
}
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698