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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.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/SplitTextNodeCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.h b/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.h
index f743c13f97fe4fefd64c30d4477a9da1d0936db1..0d4cafaeee0021e80d701f062085fdd7d58ce9ef 100644
--- a/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.h
@@ -34,23 +34,23 @@ class Text;
class SplitTextNodeCommand final : public SimpleEditCommand {
public:
- static PassRefPtrWillBeRawPtr<SplitTextNodeCommand> create(PassRefPtrWillBeRawPtr<Text> node, int offset)
+ static RawPtr<SplitTextNodeCommand> create(RawPtr<Text> node, int offset)
{
- return adoptRefWillBeNoop(new SplitTextNodeCommand(node, offset));
+ return new SplitTextNodeCommand(node, offset);
}
DECLARE_VIRTUAL_TRACE();
private:
- SplitTextNodeCommand(PassRefPtrWillBeRawPtr<Text>, int offset);
+ SplitTextNodeCommand(RawPtr<Text>, int offset);
void doApply(EditingState*) override;
void doUnapply() override;
void doReapply() override;
void insertText1AndTrimText2();
- RefPtrWillBeMember<Text> m_text1;
- RefPtrWillBeMember<Text> m_text2;
+ Member<Text> m_text1;
+ Member<Text> m_text2;
unsigned m_offset;
};

Powered by Google App Engine
This is Rietveld 408576698