| Index: views/controls/textfield/textfield_views_model.cc
|
| ===================================================================
|
| --- views/controls/textfield/textfield_views_model.cc (revision 96008)
|
| +++ views/controls/textfield/textfield_views_model.cc (working copy)
|
| @@ -414,8 +414,7 @@
|
| }
|
|
|
| void TextfieldViewsModel::SelectRange(const ui::Range& range) {
|
| - gfx::SelectionModel selection(range.start(), range.end(),
|
| - range.end(), gfx::SelectionModel::PREVIOUS_GRAPHEME_TRAILING);
|
| + gfx::SelectionModel selection(range.start(), range.end());
|
| SelectSelectionModel(selection);
|
| }
|
|
|
| @@ -589,8 +588,7 @@
|
| std::min(range.start() + composition.selection.start(), range.end());
|
| size_t end =
|
| std::min(range.start() + composition.selection.end(), range.end());
|
| - gfx::SelectionModel sel(start, end, end,
|
| - gfx::SelectionModel::PREVIOUS_GRAPHEME_TRAILING);
|
| + gfx::SelectionModel sel(start, end);
|
| render_text_->SetSelectionModel(sel);
|
| } else {
|
| render_text_->SetCursorPosition(range.end());
|
|
|