| Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| index 497a705aced9258dd8cb01c42b35ef0116eb88f7..6ec6ab729ad3b829e9971315c4d6a621e136f2d8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -1559,7 +1559,7 @@ void LayoutText::SetSelectionState(SelectionState state) {
|
| if (state == SelectionStart || state == SelectionEnd ||
|
| state == SelectionBoth) {
|
| int start_pos, end_pos;
|
| - SelectionStartEnd(start_pos, end_pos);
|
| + std::tie(start_pos, end_pos) = SelectionStartEnd();
|
| if (GetSelectionState() == SelectionStart) {
|
| end_pos = TextLength();
|
|
|
| @@ -2025,7 +2025,7 @@ LayoutRect LayoutText::LocalSelectionRect() const {
|
| start_pos = 0;
|
| end_pos = TextLength();
|
| } else {
|
| - SelectionStartEnd(start_pos, end_pos);
|
| + std::tie(start_pos, end_pos) = SelectionStartEnd();
|
| if (GetSelectionState() == SelectionStart)
|
| end_pos = TextLength();
|
| else if (GetSelectionState() == SelectionEnd)
|
|
|