Index: Source/core/rendering/InlineIterator.h |
diff --git a/Source/core/rendering/InlineIterator.h b/Source/core/rendering/InlineIterator.h |
index fa5a8ad7431b0b0bc52438653fbe05051339316a..1885f8e521cc745ac587b5990ee6eba530d3d431 100644 |
--- a/Source/core/rendering/InlineIterator.h |
+++ b/Source/core/rendering/InlineIterator.h |
@@ -78,13 +78,13 @@ public: |
void increment(InlineBidiResolver* = 0, IncrementRule = FastIncrementInTextNode); |
bool atEnd() const; |
- inline bool atTextParagraphSeparator() |
+ inline bool atTextParagraphSeparator() const |
{ |
return m_obj && m_obj->preservesNewline() && m_obj->isText() && toRenderText(m_obj)->textLength() |
&& !toRenderText(m_obj)->isWordBreak() && toRenderText(m_obj)->characterAt(m_pos) == '\n'; |
} |
- inline bool atParagraphSeparator() |
+ inline bool atParagraphSeparator() const |
{ |
return (m_obj && m_obj->isBR()) || atTextParagraphSeparator(); |
} |