| Index: views/controls/textfield/native_textfield_views_unittest.cc
|
| ===================================================================
|
| --- views/controls/textfield/native_textfield_views_unittest.cc (revision 95245)
|
| +++ views/controls/textfield/native_textfield_views_unittest.cc (working copy)
|
| @@ -220,7 +220,8 @@
|
|
|
| int GetCursorPositionX(int cursor_pos) {
|
| gfx::RenderText* render_text = textfield_view_->GetRenderText();
|
| - return render_text->GetCursorBounds(cursor_pos, false).x();
|
| + return render_text->GetCursorBounds(
|
| + gfx::SelectionModel(cursor_pos), false).x();
|
| }
|
|
|
| // We need widget to populate wrapper class.
|
|
|