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

Unified Diff: third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.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/RemoveNodeCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.h b/third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.h
index 9bb703c1729467a7a68796742919b3d7f554e0ef..8d23965b76cd2e4c12b6faca56e421c2be780971 100644
--- a/third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveNodeCommand.h
@@ -32,22 +32,22 @@ namespace blink {
class RemoveNodeCommand final : public SimpleEditCommand {
public:
- static PassRefPtrWillBeRawPtr<RemoveNodeCommand> create(PassRefPtrWillBeRawPtr<Node> node, ShouldAssumeContentIsAlwaysEditable shouldAssumeContentIsAlwaysEditable)
+ static RawPtr<RemoveNodeCommand> create(RawPtr<Node> node, ShouldAssumeContentIsAlwaysEditable shouldAssumeContentIsAlwaysEditable)
{
- return adoptRefWillBeNoop(new RemoveNodeCommand(node, shouldAssumeContentIsAlwaysEditable));
+ return new RemoveNodeCommand(node, shouldAssumeContentIsAlwaysEditable);
}
DECLARE_VIRTUAL_TRACE();
private:
- explicit RemoveNodeCommand(PassRefPtrWillBeRawPtr<Node>, ShouldAssumeContentIsAlwaysEditable);
+ explicit RemoveNodeCommand(RawPtr<Node>, ShouldAssumeContentIsAlwaysEditable);
void doApply(EditingState*) override;
void doUnapply() override;
- RefPtrWillBeMember<Node> m_node;
- RefPtrWillBeMember<ContainerNode> m_parent;
- RefPtrWillBeMember<Node> m_refChild;
+ Member<Node> m_node;
+ Member<ContainerNode> m_parent;
+ Member<Node> m_refChild;
ShouldAssumeContentIsAlwaysEditable m_shouldAssumeContentIsAlwaysEditable;
};

Powered by Google App Engine
This is Rietveld 408576698