Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarker.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698