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 fe4c6f56fd7b75bfc69c92221d8baea1c4c3c121..d5e036851e6e84bf480639b67e687263b46570f1 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
@@ -44,7 +44,6 @@ public: |
bool canBeSelectionLeaf() const override { return node() && node()->hasEditableStyle(); } |
unsigned start() const { return m_start; } |
- unsigned end() const { return m_end; } |
unsigned textStartOffset() const override { return start(); } |
@@ -81,9 +80,10 @@ private: |
Text* associatedTextNode() const; |
void updateHitTestResult(HitTestResult&, const LayoutPoint&) override; |
+ unsigned fragmentLength() const { return m_fragmentLength; } |
yosin_UTC9
2015/10/27 01:06:52
Oops, I'm a first user of using |fragmentLength()|
|
unsigned m_start; |
- unsigned m_end; |
+ unsigned m_fragmentLength; |
bool m_isRemainingTextLayoutObject; |
RefPtr<StringImpl> m_contentString; |
// Reference back to FirstLetterPseudoElement; cleared by FirstLetterPseudoElement::detach() if |