| Index: third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
|
| index 47a050e58179e7c0626d76705adb7207da0e75ff..329be706d13ea669efe7e7abfdd8ae0ae518cca7 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
|
| @@ -37,7 +37,7 @@ class DocumentMarkerDetails;
|
| // It optionally includes a description that could be displayed in the user interface.
|
| // It also optionally includes a flag specifying whether the match is active, which is ignored
|
| // for all types other than type TextMatch.
|
| -class CORE_EXPORT DocumentMarker : public NoBaseWillBeGarbageCollected<DocumentMarker> {
|
| +class CORE_EXPORT DocumentMarker : public GarbageCollected<DocumentMarker> {
|
| public:
|
| enum MarkerTypeIndex {
|
| SpellingMarkerIndex = 0,
|
| @@ -139,18 +139,18 @@ private:
|
| MarkerType m_type;
|
| unsigned m_startOffset;
|
| unsigned m_endOffset;
|
| - RefPtrWillBeMember<DocumentMarkerDetails> m_details;
|
| + Member<DocumentMarkerDetails> m_details;
|
| uint32_t m_hash;
|
| };
|
|
|
| -using DocumentMarkerVector = WillBeHeapVector<RawPtrWillBeMember<DocumentMarker>>;
|
| +using DocumentMarkerVector = HeapVector<Member<DocumentMarker>>;
|
|
|
| inline DocumentMarkerDetails* DocumentMarker::details() const
|
| {
|
| return m_details.get();
|
| }
|
|
|
| -class DocumentMarkerDetails : public RefCountedWillBeGarbageCollectedFinalized<DocumentMarkerDetails> {
|
| +class DocumentMarkerDetails : public GarbageCollectedFinalized<DocumentMarkerDetails> {
|
| public:
|
| DocumentMarkerDetails() { }
|
| virtual ~DocumentMarkerDetails();
|
|
|