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

Unified Diff: third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.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/commands/MoveSelectionCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.h b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.h
index 72c862deb8b0dffd6307c0f7c61a78061d2dd844..c3b6de39a552e03143741c029aaf2bd795794459 100644
--- a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.h
@@ -34,20 +34,20 @@ class DocumentFragment;
class MoveSelectionCommand final : public CompositeEditCommand {
public:
- static PassRefPtrWillBeRawPtr<MoveSelectionCommand> create(PassRefPtrWillBeRawPtr<DocumentFragment> fragment, const Position& position, bool smartInsert = false, bool smartDelete = false)
+ static RawPtr<MoveSelectionCommand> create(RawPtr<DocumentFragment> fragment, const Position& position, bool smartInsert = false, bool smartDelete = false)
{
- return adoptRefWillBeNoop(new MoveSelectionCommand(fragment, position, smartInsert, smartDelete));
+ return new MoveSelectionCommand(fragment, position, smartInsert, smartDelete);
}
DECLARE_VIRTUAL_TRACE();
private:
- MoveSelectionCommand(PassRefPtrWillBeRawPtr<DocumentFragment>, const Position&, bool smartInsert, bool smartDelete);
+ MoveSelectionCommand(RawPtr<DocumentFragment>, const Position&, bool smartInsert, bool smartDelete);
void doApply(EditingState*) override;
EditAction editingAction() const override;
- RefPtrWillBeMember<DocumentFragment> m_fragment;
+ Member<DocumentFragment> m_fragment;
Position m_position;
bool m_smartInsert;
bool m_smartDelete;

Powered by Google App Engine
This is Rietveld 408576698