Index: Source/core/editing/spellcheck/TextCheckingHelper.h |
diff --git a/Source/core/editing/spellcheck/TextCheckingHelper.h b/Source/core/editing/spellcheck/TextCheckingHelper.h |
index 12647a20cd15f269f39b98ebfb78a6a66d96df59..9ff06efc120d6f4d5c326ad92372a0a68603528c 100644 |
--- a/Source/core/editing/spellcheck/TextCheckingHelper.h |
+++ b/Source/core/editing/spellcheck/TextCheckingHelper.h |
@@ -53,8 +53,6 @@ public: |
UChar textCharAt(int index) const { return text()[static_cast<unsigned>(index)]; } |
bool isEmpty() const; |
- bool isTextEmpty() const { return text().isEmpty(); } |
- bool isRangeEmpty() const { return checkingStart() >= checkingEnd(); } |
int checkingStart() const; |
int checkingEnd() const; |
@@ -68,6 +66,9 @@ private: |
void invalidateParagraphRangeValues(); |
PassRefPtrWillBeRawPtr<Range> offsetAsRange() const; |
+ bool isTextEmpty() const { return text().isEmpty(); } |
+ bool isRangeEmpty() const { return checkingStart() >= checkingEnd(); } |
+ |
RefPtrWillBeMember<Range> m_checkingRange; |
mutable RefPtrWillBeMember<Range> m_paragraphRange; |
mutable RefPtrWillBeMember<Range> m_offsetAsRange; |