| 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 ba5efd0284d81d6c1e5b7439bf7d2e69ce966c41..b4468698e701e78e4202d5cdb8cbbe55586ef609 100644
|
| --- a/third_party/WebKit/Source/core/layout/api/LineLayoutText.h
|
| +++ b/third_party/WebKit/Source/core/layout/api/LineLayoutText.h
|
| @@ -27,6 +27,11 @@ public:
|
|
|
| LineLayoutText() { }
|
|
|
| + InlineTextBox* firstTextBox() const
|
| + {
|
| + return toText()->firstTextBox();
|
| + }
|
| +
|
| void extractTextBox(InlineTextBox* inlineTextBox)
|
| {
|
| toText()->extractTextBox(inlineTextBox);
|
| @@ -87,6 +92,11 @@ public:
|
| return toText()->textLength();
|
| }
|
|
|
| + unsigned resolvedTextLength() const
|
| + {
|
| + return toText()->resolvedTextLength();
|
| + }
|
| +
|
| const String& text() const
|
| {
|
| return toText()->text();
|
|
|