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

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

Powered by Google App Engine
This is Rietveld 408576698