Index: Source/core/editing/SpellCheckRequester.h |
diff --git a/Source/core/editing/SpellCheckRequester.h b/Source/core/editing/SpellCheckRequester.h |
index 642329bbd8af1db1cf6f7d852db752bc21aa37e3..903fc1ac57377fde08eabcb876043612f27ccb4b 100644 |
--- a/Source/core/editing/SpellCheckRequester.h |
+++ b/Source/core/editing/SpellCheckRequester.h |
@@ -45,11 +45,11 @@ class TextCheckerClient; |
class SpellCheckRequest FINAL : public TextCheckingRequest { |
public: |
- static PassRefPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextCheckingProcessType, PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange, int requestNumber = 0); |
+ static PassRefPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextCheckingProcessType, PassRefPtrWillBeRawPtr<Range> checkingRange, PassRefPtrWillBeRawPtr<Range> paragraphRange, int requestNumber = 0); |
virtual ~SpellCheckRequest(); |
- PassRefPtr<Range> checkingRange() const { return m_checkingRange; } |
- PassRefPtr<Range> paragraphRange() const { return m_paragraphRange; } |
+ PassRefPtrWillBeRawPtr<Range> checkingRange() const { return m_checkingRange; } |
+ PassRefPtrWillBeRawPtr<Range> paragraphRange() const { return m_paragraphRange; } |
PassRefPtr<Element> rootEditableElement() const { return m_rootEditableElement; } |
void setCheckerAndSequence(SpellCheckRequester*, int sequence); |
@@ -62,11 +62,11 @@ public: |
int requestNumber() const { return m_requestNumber; } |
private: |
- SpellCheckRequest(PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange, const String&, TextCheckingTypeMask, TextCheckingProcessType, const Vector<uint32_t>& documentMarkersInRange, const Vector<unsigned>& documentMarkerOffsets, int requestNumber); |
+ SpellCheckRequest(PassRefPtrWillBeRawPtr<Range> checkingRange, PassRefPtrWillBeRawPtr<Range> paragraphRange, const String&, TextCheckingTypeMask, TextCheckingProcessType, const Vector<uint32_t>& documentMarkersInRange, const Vector<unsigned>& documentMarkerOffsets, int requestNumber); |
SpellCheckRequester* m_requester; |
- RefPtr<Range> m_checkingRange; |
- RefPtr<Range> m_paragraphRange; |
+ RefPtrWillBePersistent<Range> m_checkingRange; |
+ RefPtrWillBePersistent<Range> m_paragraphRange; |
RefPtr<Element> m_rootEditableElement; |
TextCheckingRequestData m_requestData; |
int m_requestNumber; |