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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.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/InsertIntoTextNodeCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.h b/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.h
index 963192c34ffca6e8525db4c075406a2ac6a8f89c..9a1f291c92c923ba35b618e3ce36f390aec8f263 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.h
@@ -34,20 +34,20 @@ class Text;
class InsertIntoTextNodeCommand final : public SimpleEditCommand {
public:
- static PassRefPtrWillBeRawPtr<InsertIntoTextNodeCommand> create(PassRefPtrWillBeRawPtr<Text> node, unsigned offset, const String& text)
+ static RawPtr<InsertIntoTextNodeCommand> create(RawPtr<Text> node, unsigned offset, const String& text)
{
- return adoptRefWillBeNoop(new InsertIntoTextNodeCommand(node, offset, text));
+ return new InsertIntoTextNodeCommand(node, offset, text);
}
DECLARE_VIRTUAL_TRACE();
private:
- InsertIntoTextNodeCommand(PassRefPtrWillBeRawPtr<Text> node, unsigned offset, const String& text);
+ InsertIntoTextNodeCommand(RawPtr<Text> node, unsigned offset, const String& text);
void doApply(EditingState*) override;
void doUnapply() override;
- RefPtrWillBeMember<Text> m_node;
+ Member<Text> m_node;
unsigned m_offset;
String m_text;
};

Powered by Google App Engine
This is Rietveld 408576698