Index: third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h |
diff --git a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h |
index 2d58a2781c5a9b89447aaa9904a657fb9493af45..d1685164d18131067a13f88559864df5c34e6b94 100644 |
--- a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h |
+++ b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h |
@@ -79,6 +79,7 @@ class CORE_EXPORT AbstractInlineTextBox |
LayoutRect LocalBounds() const; |
unsigned Len() const; |
Direction GetDirection() const; |
+ Node* GetNode() const { return line_layout_item_.GetNode(); } |
void CharacterWidths(Vector<float>&) const; |
void GetWordBoundaries(Vector<WordBoundaries>&) const; |
String GetText() const; |