Index: third_party/WebKit/Source/core/layout/api/LineLayoutText.h |
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutText.h b/third_party/WebKit/Source/core/layout/api/LineLayoutText.h |
index 6ae27ae263f5ca309aef44cd88b03af5686d3cca..3288f1bd242bee19aae67c13962fd65d5fc0da3d 100644 |
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutText.h |
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutText.h |
@@ -109,8 +109,8 @@ class LineLayoutText : public LineLayoutItem { |
return ToText()->HyphenWidth(font, text_direction); |
} |
- void SelectionStartEnd(int& spos, int& epos) const { |
- return ToText()->SelectionStartEnd(spos, epos); |
+ std::pair<int, int> SelectionStartEnd() const { |
+ return ToText()->SelectionStartEnd(); |
} |
unsigned TextStartOffset() const { return ToText()->TextStartOffset(); } |