Index: third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.h |
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.h b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.h |
index 2f125e869f279f1caf99f20e6eef6c149cf43546..dac0b560177ba2e38e4330d46b892cb4f68ac89d 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.h |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.h |
@@ -28,6 +28,7 @@ |
#include "core/dom/Element.h" |
#include "core/dom/Range.h" |
+#include "core/editing/EphemeralRange.h" |
#include "platform/Timer.h" |
#include "platform/text/TextChecking.h" |
#include "wtf/Deque.h" |
@@ -44,8 +45,10 @@ class TextCheckerClient; |
class SpellCheckRequest final : public TextCheckingRequest { |
public: |
- static PassRefPtrWillBeRawPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextCheckingProcessType, PassRefPtrWillBeRawPtr<Range> checkingRange, PassRefPtrWillBeRawPtr<Range> paragraphRange, int requestNumber = 0); |
+ static PassRefPtrWillBeRawPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextCheckingProcessType, const EphemeralRange& checkingRange, const EphemeralRange& paragraphRange, int requestNumber = 0); |
+ |
~SpellCheckRequest() override; |
+ void dispose(); |
PassRefPtrWillBeRawPtr<Range> checkingRange() const { return m_checkingRange; } |
PassRefPtrWillBeRawPtr<Range> paragraphRange() const { return m_paragraphRange; } |