| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index 039102b748e1a4916a8a98570d38894130802a2b..4e8ec8713a52c897cb114eb4f56d31964248f64d 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -1157,8 +1157,8 @@ void Textfield::GetSelectionEndPoints(ui::SelectionBound* anchor,
|
| gfx::Rect r1 = render_text->GetCursorBounds(start_sel, true);
|
| gfx::Rect r2 = render_text->GetCursorBounds(sel, true);
|
|
|
| - anchor->SetEdge(r1.origin(), r1.bottom_left());
|
| - focus->SetEdge(r2.origin(), r2.bottom_left());
|
| + anchor->SetEdge(gfx::PointF(r1.origin()), gfx::PointF(r1.bottom_left()));
|
| + focus->SetEdge(gfx::PointF(r2.origin()), gfx::PointF(r2.bottom_left()));
|
|
|
| // Determine the SelectionBound's type for focus and anchor.
|
| // TODO(mfomitchev): Ideally we should have different logical directions for
|
|
|