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

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, 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/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 33e901e7fc79c8ff5befd42793876ebb3b99b551..9a75e3d75b8df162cddcb45d6911350215bd95b3 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(EditingState*) 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