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

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, 10 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 058226e94bdb2b601c84f5b566f89d631986f636..81ce64c188d2a2ba97ee06a6011f1bb0140fcf79 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; }
@@ -56,7 +55,7 @@ private:
template <typename Strategy>
void commitAlgorithm(LayoutView&);
- RawPtrWillBeMember<FrameSelection> m_frameSelection;
+ Member<FrameSelection> m_frameSelection;
bool m_hasPendingSelection : 1;
};

Powered by Google App Engine
This is Rietveld 408576698