| Index: ash/ime/candidate_view.cc
|
| diff --git a/ash/ime/candidate_view.cc b/ash/ime/candidate_view.cc
|
| index 4071071255427cd0160e57c5d4e7ee5a6c52364f..cfd85cb94a86a91dddb491eaef9dec59fb9b57f6 100644
|
| --- a/ash/ime/candidate_view.cc
|
| +++ b/ash/ime/candidate_view.cc
|
| @@ -226,9 +226,9 @@ void CandidateView::StateChanged() {
|
| }
|
|
|
| bool CandidateView::OnMouseDragged(const ui::MouseEvent& event) {
|
| - if (!HitTestPoint(event.location())) {
|
| + if (!HitTestPoint(gfx::ToFlooredPoint(event.location()))) {
|
| // Moves the drag target to the sibling view.
|
| - gfx::Point location_in_widget(event.location());
|
| + gfx::Point location_in_widget(gfx::ToFlooredPoint(event.location()));
|
| ConvertPointToWidget(this, &location_in_widget);
|
| for (int i = 0; i < parent()->child_count(); ++i) {
|
| CandidateView* sibling =
|
|
|