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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.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/InsertNodeBeforeCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.h b/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.h
index 4c8569e38b79f74f378684adfae13599a9490220..55dc7c79853cc60f3da3bb1e862a61ac6f57927b 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/InsertNodeBeforeCommand.h
@@ -32,22 +32,22 @@ namespace blink {
class InsertNodeBeforeCommand final : public SimpleEditCommand {
public:
- static PassRefPtrWillBeRawPtr<InsertNodeBeforeCommand> create(PassRefPtrWillBeRawPtr<Node> childToInsert, PassRefPtrWillBeRawPtr<Node> childToInsertBefore,
+ static RawPtr<InsertNodeBeforeCommand> create(RawPtr<Node> childToInsert, RawPtr<Node> childToInsertBefore,
ShouldAssumeContentIsAlwaysEditable shouldAssumeContentIsAlwaysEditable)
{
- return adoptRefWillBeNoop(new InsertNodeBeforeCommand(childToInsert, childToInsertBefore, shouldAssumeContentIsAlwaysEditable));
+ return new InsertNodeBeforeCommand(childToInsert, childToInsertBefore, shouldAssumeContentIsAlwaysEditable);
}
DECLARE_VIRTUAL_TRACE();
private:
- InsertNodeBeforeCommand(PassRefPtrWillBeRawPtr<Node> childToInsert, PassRefPtrWillBeRawPtr<Node> childToInsertBefore, ShouldAssumeContentIsAlwaysEditable);
+ InsertNodeBeforeCommand(RawPtr<Node> childToInsert, RawPtr<Node> childToInsertBefore, ShouldAssumeContentIsAlwaysEditable);
void doApply(EditingState*) override;
void doUnapply() override;
- RefPtrWillBeMember<Node> m_insertChild;
- RefPtrWillBeMember<Node> m_refChild;
+ Member<Node> m_insertChild;
+ Member<Node> m_refChild;
ShouldAssumeContentIsAlwaysEditable m_shouldAssumeContentIsAlwaysEditable;
};

Powered by Google App Engine
This is Rietveld 408576698