Chromium Code Reviews| 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..d0701023062ee0e370b4a631527f213cdfb1789a 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
| @@ -44,7 +44,7 @@ public: |
| bool canBeSelectionLeaf() const override { return node() && node()->hasEditableStyle(); } |
| unsigned start() const { return m_start; } |
| - unsigned end() const { return m_end; } |
| + unsigned fragLength() const { return m_length; } |
|
yosin_UTC9
2015/10/22 07:23:16
Please use |fragmentLength()|, or another whcih La
dsinclair
2015/10/22 13:04:50
fragmentLength is fine.
Srirama
2015/10/22 13:47:59
Done.
|
| unsigned textStartOffset() const override { return start(); } |
| @@ -83,7 +83,7 @@ private: |
| void updateHitTestResult(HitTestResult&, const LayoutPoint&) override; |
| unsigned m_start; |
| - unsigned m_end; |
| + unsigned m_length; |
| bool m_isRemainingTextLayoutObject; |
| RefPtr<StringImpl> m_contentString; |
| // Reference back to FirstLetterPseudoElement; cleared by FirstLetterPseudoElement::detach() if |