Index: third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
index d5e036851e6e84bf480639b67e687263b46570f1..d4c6198f0a25305d21eb20d3170f8cf74afc4ebf 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
@@ -44,6 +44,7 @@ public: |
bool canBeSelectionLeaf() const override { return node() && node()->hasEditableStyle(); } |
unsigned start() const { return m_start; } |
+ unsigned fragmentLength() const { return m_fragmentLength; } |
unsigned textStartOffset() const override { return start(); } |
@@ -80,7 +81,6 @@ private: |
Text* associatedTextNode() const; |
void updateHitTestResult(HitTestResult&, const LayoutPoint&) override; |
- unsigned fragmentLength() const { return m_fragmentLength; } |
unsigned m_start; |
unsigned m_fragmentLength; |