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

Unified Diff: third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.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/AppendNodeCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.h b/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.h
index 46db77d2de3df929d946c9a8f27c595ba1097328..b6d8847713413b2264f7f01d6740a250c7b8177f 100644
--- a/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.h
@@ -32,21 +32,21 @@ namespace blink {
class AppendNodeCommand final : public SimpleEditCommand {
public:
- static PassRefPtrWillBeRawPtr<AppendNodeCommand> create(PassRefPtrWillBeRawPtr<ContainerNode> parent, PassRefPtrWillBeRawPtr<Node> node)
+ static RawPtr<AppendNodeCommand> create(RawPtr<ContainerNode> parent, RawPtr<Node> node)
{
- return adoptRefWillBeNoop(new AppendNodeCommand(parent, node));
+ return new AppendNodeCommand(parent, node);
}
DECLARE_VIRTUAL_TRACE();
private:
- AppendNodeCommand(PassRefPtrWillBeRawPtr<ContainerNode> parent, PassRefPtrWillBeRawPtr<Node>);
+ AppendNodeCommand(RawPtr<ContainerNode> parent, RawPtr<Node>);
void doApply(EditingState*) override;
void doUnapply() override;
- RefPtrWillBeMember<ContainerNode> m_parent;
- RefPtrWillBeMember<Node> m_node;
+ Member<ContainerNode> m_parent;
+ Member<Node> m_node;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698