Index: views/controls/textfield/native_textfield_views.cc |
diff --git a/views/controls/textfield/native_textfield_views.cc b/views/controls/textfield/native_textfield_views.cc |
index a4220d7cab40625b557cdc5d3556ca688c05ed2a..468a9c9c671d44cce2edc00529709a0740d8bfeb 100644 |
--- a/views/controls/textfield/native_textfield_views.cc |
+++ b/views/controls/textfield/native_textfield_views.cc |
@@ -1002,8 +1002,8 @@ void NativeTextfieldViews::OnCaretBoundsChanged() { |
sel.selection_start(), gfx::SelectionModel::LEADING); |
gfx::Rect start_cursor = render_text->GetCursorBounds(start_sel, false); |
gfx::Rect end_cursor = render_text->GetCursorBounds(sel, false); |
- gfx::Point start(start_cursor.x(), start_cursor.bottom()); |
- gfx::Point end(end_cursor.x(), end_cursor.bottom()); |
+ gfx::Point start(start_cursor.x(), start_cursor.bottom() - 1); |
+ gfx::Point end(end_cursor.x(), end_cursor.bottom() - 1); |
touch_selection_controller_->SelectionChanged(start, end); |
} |