Index: Source/core/platform/graphics/TextRunIterator.h |
diff --git a/Source/core/platform/graphics/TextRunIterator.h b/Source/core/platform/graphics/TextRunIterator.h |
index 123885cb8c6f1ca467e5d64e3a48513efe5e9484..fa044ce072d00c91304028b1f96468bcae5d4845 100644 |
--- a/Source/core/platform/graphics/TextRunIterator.h |
+++ b/Source/core/platform/graphics/TextRunIterator.h |
@@ -58,6 +58,7 @@ public: |
bool atEnd() const { return !m_textRun || m_offset >= m_textRun->length(); } |
UChar current() const { return (*m_textRun)[m_offset]; } |
WTF::Unicode::Direction direction() const { return atEnd() ? WTF::Unicode::OtherNeutral : WTF::Unicode::direction(current()); } |
+ bool atParagraphSeparator() const { return current() == '\n'; } |
bool operator==(const TextRunIterator& other) |
{ |