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

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, 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/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 2d9d63062ee2ca8eafe6d67547a5a2ffd6e8d8df..24acf2f1386326d493c2dde134b8b73c4495bda9 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() 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