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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedNumber.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/svg/SVGAnimatedNumber.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h b/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h
index d0dd9846ca7abb282fb06fa68854b9fb700d4cc0..1161b09f4e23356335cc9a808ded47a6322204d8 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h
@@ -44,9 +44,9 @@ class SVGAnimatedNumberOptionalNumber;
class SVGAnimatedNumber : public SVGAnimatedProperty<SVGNumber>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<SVGAnimatedNumber> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGNumber> initialValue)
+ static RawPtr<SVGAnimatedNumber> create(SVGElement* contextElement, const QualifiedName& attributeName, RawPtr<SVGNumber> initialValue)
{
- return adoptRefWillBeNoop(new SVGAnimatedNumber(contextElement, attributeName, initialValue));
+ return new SVGAnimatedNumber(contextElement, attributeName, initialValue);
}
void synchronizeAttribute() override;
@@ -59,13 +59,13 @@ public:
DECLARE_VIRTUAL_TRACE();
protected:
- SVGAnimatedNumber(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGNumber> initialValue)
+ SVGAnimatedNumber(SVGElement* contextElement, const QualifiedName& attributeName, RawPtr<SVGNumber> initialValue)
: SVGAnimatedProperty<SVGNumber>(contextElement, attributeName, initialValue)
, m_parentNumberOptionalNumber(nullptr)
{
}
- RawPtrWillBeMember<SVGAnimatedNumberOptionalNumber> m_parentNumberOptionalNumber;
+ Member<SVGAnimatedNumberOptionalNumber> m_parentNumberOptionalNumber;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimatedLengthList.idl ('k') | third_party/WebKit/Source/core/svg/SVGAnimatedNumber.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698