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

Unified Diff: third_party/WebKit/Source/core/editing/PendingSelection.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/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;
};

Powered by Google App Engine
This is Rietveld 408576698