diff options
Diffstat (limited to 'WebCore/rendering/InlineTextBox.h')
-rw-r--r-- | WebCore/rendering/InlineTextBox.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/rendering/InlineTextBox.h b/WebCore/rendering/InlineTextBox.h index fcbf23a..7d828f3 100644 --- a/WebCore/rendering/InlineTextBox.h +++ b/WebCore/rendering/InlineTextBox.h @@ -67,6 +67,7 @@ public: bool hasHyphen() const { return m_hasEllipsisBoxOrHyphen; } void setHasHyphen(bool hasHyphen) { m_hasEllipsisBoxOrHyphen = hasHyphen; } + static inline bool compareByStart(const InlineTextBox* first, const InlineTextBox* second) { return first->start() < second->start(); } private: virtual int selectionTop(); |