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

Unified Diff: third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.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/RemoveCSSPropertyCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.h b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.h
index 6fce4aeec3b5bc3b48f81920f11c0c738e2d5390..b072bcbc19a2709c5c1c391d78a7a9a421744f4f 100644
--- a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.h
@@ -35,21 +35,21 @@ class Element;
class RemoveCSSPropertyCommand final : public SimpleEditCommand {
public:
- static PassRefPtrWillBeRawPtr<RemoveCSSPropertyCommand> create(Document& document, PassRefPtrWillBeRawPtr<Element> element, CSSPropertyID property)
+ static RawPtr<RemoveCSSPropertyCommand> create(Document& document, RawPtr<Element> element, CSSPropertyID property)
{
- return adoptRefWillBeNoop(new RemoveCSSPropertyCommand(document, element, property));
+ return new RemoveCSSPropertyCommand(document, element, property);
}
DECLARE_VIRTUAL_TRACE();
private:
- RemoveCSSPropertyCommand(Document&, PassRefPtrWillBeRawPtr<Element>, CSSPropertyID);
+ RemoveCSSPropertyCommand(Document&, RawPtr<Element>, CSSPropertyID);
~RemoveCSSPropertyCommand() override;
void doApply(EditingState*) override;
void doUnapply() override;
- RefPtrWillBeMember<Element> m_element;
+ Member<Element> m_element;
CSSPropertyID m_property;
String m_oldValue;
bool m_important;

Powered by Google App Engine
This is Rietveld 408576698