| Index: third_party/WebKit/Source/core/editing/LayoutSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/LayoutSelection.cpp b/third_party/WebKit/Source/core/editing/LayoutSelection.cpp
|
| index 718f97acdc5a45c50f7af4ec522ec518368d968b..1e65111e8c7b173dd1b3d5b57988eb99bcf579f6 100644
|
| --- a/third_party/WebKit/Source/core/editing/LayoutSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/LayoutSelection.cpp
|
| @@ -306,10 +306,9 @@ void LayoutSelection::SetSelection(
|
| i->key->SetShouldInvalidateSelection();
|
| }
|
|
|
| -void LayoutSelection::SelectionStartEnd(int& start_pos, int& end_pos) {
|
| +std::pair<int, int> LayoutSelection::SelectionStartEnd() {
|
| Commit();
|
| - start_pos = selection_start_pos_;
|
| - end_pos = selection_end_pos_;
|
| + return std::make_pair(selection_start_pos_, selection_end_pos_);
|
| }
|
|
|
| void LayoutSelection::ClearSelection() {
|
|
|