Index: third_party/WebKit/Source/core/page/TouchAdjustment.cpp |
diff --git a/third_party/WebKit/Source/core/page/TouchAdjustment.cpp b/third_party/WebKit/Source/core/page/TouchAdjustment.cpp |
index ba1b7cc8ae7350fb63fef4dce64f2eeccb399525..0be208dda782dfc2478adcf87a214aa919c5d846 100644 |
--- a/third_party/WebKit/Source/core/page/TouchAdjustment.cpp |
+++ b/third_party/WebKit/Source/core/page/TouchAdjustment.cpp |
@@ -212,15 +212,15 @@ static inline void AppendContextSubtargetsForNode( |
end_pos = text_layout_object->TextLength(); |
break; |
case SelectionStart: |
- text_layout_object->SelectionStartEnd(start_pos, end_pos); |
+ std::tie(start_pos, end_pos) = text_layout_object->SelectionStartEnd(); |
end_pos = text_layout_object->TextLength(); |
break; |
case SelectionEnd: |
- text_layout_object->SelectionStartEnd(start_pos, end_pos); |
+ std::tie(start_pos, end_pos) = text_layout_object->SelectionStartEnd(); |
start_pos = 0; |
break; |
case SelectionBoth: |
- text_layout_object->SelectionStartEnd(start_pos, end_pos); |
+ std::tie(start_pos, end_pos) = text_layout_object->SelectionStartEnd(); |
break; |
default: |
ASSERT_NOT_REACHED(); |