| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index c50993256ba4c96cfbec6f059531700185dc95d3..01a666be628b77420bc5d76c902de3877e681d9f 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -1924,7 +1924,9 @@ void Textfield::UpdateAfterChange(bool text_changed, bool cursor_changed) {
|
| }
|
|
|
| void Textfield::UpdateCursorView() {
|
| - cursor_view_.SetBoundsRect(GetRenderText()->GetUpdatedCursorBounds());
|
| + gfx::Rect location(GetRenderText()->GetUpdatedCursorBounds());
|
| + location.set_x(GetMirroredXForRect(location));
|
| + cursor_view_.SetBoundsRect(location);
|
| }
|
|
|
| void Textfield::PaintTextAndCursor(gfx::Canvas* canvas) {
|
|
|