| Index: ui/gfx/render_text_mac.cc
|
| diff --git a/ui/gfx/render_text_mac.cc b/ui/gfx/render_text_mac.cc
|
| index d86975d063081de323c38633d541dcc5b9c26cd3..0cc5c8b706942f4ca66c77c86b6feb247a4a0963 100644
|
| --- a/ui/gfx/render_text_mac.cc
|
| +++ b/ui/gfx/render_text_mac.cc
|
| @@ -33,11 +33,6 @@ SizeF RenderTextMac::GetStringSizeF() {
|
| return string_size_;
|
| }
|
|
|
| -int RenderTextMac::GetBaseline() {
|
| - EnsureLayout();
|
| - return common_baseline_;
|
| -}
|
| -
|
| SelectionModel RenderTextMac::FindCursorPosition(const Point& point) {
|
| // TODO(asvitkine): Implement this. http://crbug.com/131618
|
| return SelectionModel();
|
| @@ -59,6 +54,11 @@ std::vector<RenderText::FontSpan> RenderTextMac::GetFontSpansForTesting() {
|
| return spans;
|
| }
|
|
|
| +int RenderTextMac::GetBaselineOfTextLayout() {
|
| + EnsureLayout();
|
| + return common_baseline_;
|
| +}
|
| +
|
| SelectionModel RenderTextMac::AdjacentCharSelectionModel(
|
| const SelectionModel& selection,
|
| VisualCursorDirection direction) {
|
|
|