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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.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/ReplaceNodeWithSpanCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.h b/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.h
index 067d8b273826a868a444c8a6e838fdda4867c3d4..c45cd8c99655fe38c378240986bf52747025ec2a 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.h
@@ -41,9 +41,9 @@ class HTMLSpanElement;
// More accurately, this is ReplaceElementWithSpanPreservingChildrenAndAttributesCommand
class ReplaceNodeWithSpanCommand final : public SimpleEditCommand {
public:
- static PassRefPtrWillBeRawPtr<ReplaceNodeWithSpanCommand> create(PassRefPtrWillBeRawPtr<HTMLElement> element)
+ static RawPtr<ReplaceNodeWithSpanCommand> create(RawPtr<HTMLElement> element)
{
- return adoptRefWillBeNoop(new ReplaceNodeWithSpanCommand(element));
+ return new ReplaceNodeWithSpanCommand(element);
}
HTMLSpanElement* spanElement() { return m_spanElement.get(); }
@@ -51,13 +51,13 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- explicit ReplaceNodeWithSpanCommand(PassRefPtrWillBeRawPtr<HTMLElement>);
+ explicit ReplaceNodeWithSpanCommand(RawPtr<HTMLElement>);
void doApply(EditingState*) override;
void doUnapply() override;
- RefPtrWillBeMember<HTMLElement> m_elementToReplace;
- RefPtrWillBeMember<HTMLSpanElement> m_spanElement;
+ Member<HTMLElement> m_elementToReplace;
+ Member<HTMLSpanElement> m_spanElement;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698