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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.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, 10 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/SetNodeAttributeCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.h b/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.h
index 3009926e9604c3ef4be58e0c40a822ff40739915..dc34aaaa0bce1203574c69bece68698c8abf174b 100644
--- a/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.h
@@ -33,20 +33,20 @@ namespace blink {
class SetNodeAttributeCommand final : public SimpleEditCommand {
public:
- static PassRefPtrWillBeRawPtr<SetNodeAttributeCommand> create(PassRefPtrWillBeRawPtr<Element> element, const QualifiedName& attribute, const AtomicString& value)
+ static RawPtr<SetNodeAttributeCommand> create(RawPtr<Element> element, const QualifiedName& attribute, const AtomicString& value)
{
- return adoptRefWillBeNoop(new SetNodeAttributeCommand(element, attribute, value));
+ return (new SetNodeAttributeCommand(element, attribute, value));
}
DECLARE_VIRTUAL_TRACE();
private:
- SetNodeAttributeCommand(PassRefPtrWillBeRawPtr<Element>, const QualifiedName& attribute, const AtomicString& value);
+ SetNodeAttributeCommand(RawPtr<Element>, const QualifiedName& attribute, const AtomicString& value);
void doApply() override;
void doUnapply() override;
- RefPtrWillBeMember<Element> m_element;
+ Member<Element> m_element;
QualifiedName m_attribute;
AtomicString m_value;
AtomicString m_oldValue;

Powered by Google App Engine
This is Rietveld 408576698