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..41826047e95c61e5fc6a29c8f956f74a6d62a9c9 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,7 +45,7 @@ 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; |
PassRefPtrWillBeRawPtr<Range> checkingRange() const { return m_checkingRange; } |