| Index: Source/core/editing/TextCheckingHelper.h
|
| diff --git a/Source/core/editing/TextCheckingHelper.h b/Source/core/editing/TextCheckingHelper.h
|
| index 64ba7c0f5dabc6944b5ff15638d351c181a507e9..6e0c2389a2ac110270bddc425499639abb9b141a 100644
|
| --- a/Source/core/editing/TextCheckingHelper.h
|
| +++ b/Source/core/editing/TextCheckingHelper.h
|
| @@ -21,6 +21,7 @@
|
| #ifndef TextCheckingHelper_h
|
| #define TextCheckingHelper_h
|
|
|
| +#include "core/dom/Position.h"
|
| #include "platform/heap/Handle.h"
|
| #include "platform/text/TextChecking.h"
|
| #include "wtf/text/WTFString.h"
|
| @@ -30,7 +31,6 @@ namespace blink {
|
| class ExceptionState;
|
| class LocalFrame;
|
| class Range;
|
| -class Position;
|
| class SpellCheckerClient;
|
| class TextCheckerClient;
|
| struct TextCheckingResult;
|
| @@ -82,7 +82,7 @@ class TextCheckingHelper {
|
| WTF_MAKE_NONCOPYABLE(TextCheckingHelper);
|
| STACK_ALLOCATED();
|
| public:
|
| - TextCheckingHelper(SpellCheckerClient&, PassRefPtrWillBeRawPtr<Range>);
|
| + TextCheckingHelper(SpellCheckerClient&, const Position& start, const Position& end);
|
| ~TextCheckingHelper();
|
|
|
| String findFirstMisspelling(int& firstMisspellingOffset, bool markAll, RefPtrWillBeRawPtr<Range>& firstMisspellingRange);
|
| @@ -93,7 +93,8 @@ public:
|
|
|
| private:
|
| SpellCheckerClient* m_client;
|
| - RefPtrWillBeMember<Range> m_range;
|
| + Position m_start;
|
| + Position m_end;
|
|
|
| int findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int startOffset, int endOffset, bool markAll) const;
|
| bool unifiedTextCheckerEnabled() const;
|
|
|