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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SplitElementCommand.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/SplitElementCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.h b/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.h
index ee619d52782449d7338806f8c032dbbe4d03adf3..c42d559a09718fe08ee88178dbefdb63461f9352 100644
--- a/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.h
@@ -32,24 +32,24 @@ namespace blink {
class SplitElementCommand final : public SimpleEditCommand {
public:
- static PassRefPtrWillBeRawPtr<SplitElementCommand> create(PassRefPtrWillBeRawPtr<Element> element, PassRefPtrWillBeRawPtr<Node> splitPointChild)
+ static RawPtr<SplitElementCommand> create(RawPtr<Element> element, RawPtr<Node> splitPointChild)
{
- return adoptRefWillBeNoop(new SplitElementCommand(element, splitPointChild));
+ return new SplitElementCommand(element, splitPointChild);
}
DECLARE_VIRTUAL_TRACE();
private:
- SplitElementCommand(PassRefPtrWillBeRawPtr<Element>, PassRefPtrWillBeRawPtr<Node> splitPointChild);
+ SplitElementCommand(RawPtr<Element>, RawPtr<Node> splitPointChild);
void doApply(EditingState*) override;
void doUnapply() override;
void doReapply() override;
void executeApply();
- RefPtrWillBeMember<Element> m_element1;
- RefPtrWillBeMember<Element> m_element2;
- RefPtrWillBeMember<Node> m_atChild;
+ Member<Element> m_element1;
+ Member<Element> m_element2;
+ Member<Node> m_atChild;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698