| Index: third_party/WebKit/Source/core/editing/PendingSelection.h
|
| diff --git a/third_party/WebKit/Source/core/editing/PendingSelection.h b/third_party/WebKit/Source/core/editing/PendingSelection.h
|
| index 484a1016c4a835f8fe595f099409276d1f0129c4..f38a2fa2392bb12b8f6787284d505429771a27b3 100644
|
| --- a/third_party/WebKit/Source/core/editing/PendingSelection.h
|
| +++ b/third_party/WebKit/Source/core/editing/PendingSelection.h
|
| @@ -32,12 +32,11 @@ class Document;
|
| class FrameSelection;
|
| class LayoutView;
|
|
|
| -class PendingSelection final : public NoBaseWillBeGarbageCollected<PendingSelection> {
|
| - USING_FAST_MALLOC_WILL_BE_REMOVED(PendingSelection);
|
| +class PendingSelection final : public GarbageCollected<PendingSelection> {
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<PendingSelection> create(FrameSelection& frameSelection)
|
| + static RawPtr<PendingSelection> create(FrameSelection& frameSelection)
|
| {
|
| - return adoptPtrWillBeNoop(new PendingSelection(frameSelection));
|
| + return new PendingSelection(frameSelection);
|
| }
|
|
|
| bool hasPendingSelection() const { return m_hasPendingSelection; }
|
| @@ -53,7 +52,7 @@ private:
|
|
|
| VisibleSelectionInFlatTree calcVisibleSelection(const VisibleSelectionInFlatTree&) const;
|
|
|
| - RawPtrWillBeMember<FrameSelection> m_frameSelection;
|
| + Member<FrameSelection> m_frameSelection;
|
| bool m_hasPendingSelection : 1;
|
| };
|
|
|
|
|