| Index: Source/core/editing/SurroundingText.h
|
| diff --git a/Source/core/editing/SurroundingText.h b/Source/core/editing/SurroundingText.h
|
| index 03ef289415541b71ea9eee35ca811cc852bc07e6..571a2d5aa189cc9ed7983dd85f0b6b5b446847d5 100644
|
| --- a/Source/core/editing/SurroundingText.h
|
| +++ b/Source/core/editing/SurroundingText.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef SurroundingText_h
|
| #define SurroundingText_h
|
|
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace WebCore {
|
| @@ -46,10 +47,10 @@ public:
|
| String content() const;
|
| unsigned positionOffsetInContent() const;
|
|
|
| - PassRefPtr<Range> rangeFromContentOffsets(unsigned startOffsetInContent, unsigned endOffsetInContent);
|
| + PassRefPtrWillBeRawPtr<Range> rangeFromContentOffsets(unsigned startOffsetInContent, unsigned endOffsetInContent);
|
|
|
| private:
|
| - RefPtr<Range> m_contentRange;
|
| + RefPtrWillBePersistent<Range> m_contentRange;
|
| size_t m_positionOffsetInContent;
|
| };
|
|
|
|
|