Index: Source/core/editing/TextCheckingHelper.h |
diff --git a/Source/core/editing/TextCheckingHelper.h b/Source/core/editing/TextCheckingHelper.h |
index c18021c7536bdb153f1abd876b9b3b987050e913..853e0898ed69c307395a5309e223d697f27e03be 100644 |
--- a/Source/core/editing/TextCheckingHelper.h |
+++ b/Source/core/editing/TextCheckingHelper.h |
@@ -83,7 +83,6 @@ public: |
String findFirstMisspelling(int& firstMisspellingOffset, bool markAll, RefPtr<Range>& firstMisspellingRange); |
String findFirstMisspellingOrBadGrammar(bool checkGrammar, bool& outIsSpelling, int& outFirstFoundOffset, GrammarDetail& outGrammarDetail); |
String findFirstBadGrammar(GrammarDetail& outGrammarDetail, int& outGrammarPhraseOffset, bool markAll); |
- int findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int badGrammarPhraseLength, int startOffset, int endOffset, bool markAll); |
void markAllMisspellings(RefPtr<Range>& firstMisspellingRange); |
void markAllBadGrammar(); |
@@ -91,6 +90,7 @@ private: |
EditorClient* m_client; |
RefPtr<Range> m_range; |
+ int findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int startOffset, int endOffset, bool markAll) const; |
bool unifiedTextCheckerEnabled() const; |
}; |