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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SplitTextNodeContainingElementCommand.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/SplitTextNodeContainingElementCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/SplitTextNodeContainingElementCommand.h b/third_party/WebKit/Source/core/editing/commands/SplitTextNodeContainingElementCommand.h
index c17b43f9cb681bf304b25a61feb488cf62daad16..6ef8b1b155b47057260c490d7e2a4d0b566744da 100644
--- a/third_party/WebKit/Source/core/editing/commands/SplitTextNodeContainingElementCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/SplitTextNodeContainingElementCommand.h
@@ -32,19 +32,19 @@ namespace blink {
class SplitTextNodeContainingElementCommand final : public CompositeEditCommand {
public:
- static PassRefPtrWillBeRawPtr<SplitTextNodeContainingElementCommand> create(PassRefPtrWillBeRawPtr<Text> node, int offset)
+ static RawPtr<SplitTextNodeContainingElementCommand> create(RawPtr<Text> node, int offset)
{
- return adoptRefWillBeNoop(new SplitTextNodeContainingElementCommand(node, offset));
+ return new SplitTextNodeContainingElementCommand(node, offset);
}
DECLARE_VIRTUAL_TRACE();
private:
- SplitTextNodeContainingElementCommand(PassRefPtrWillBeRawPtr<Text>, int offset);
+ SplitTextNodeContainingElementCommand(RawPtr<Text>, int offset);
void doApply(EditingState*) override;
- RefPtrWillBeMember<Text> m_text;
+ Member<Text> m_text;
int m_offset;
};

Powered by Google App Engine
This is Rietveld 408576698