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

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, 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/svg/SVGAnimatedNumber.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h b/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h
index 500de2ab7bfba9b0bff58b310a6005fd3544232a..578f2b380e96fd10e723234e747c8a4b97405ffc 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h
@@ -43,9 +43,9 @@ class SVGAnimatedNumberOptionalNumber;
class SVGAnimatedNumber : public SVGAnimatedProperty<SVGNumber> {
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;
@@ -58,13 +58,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

Powered by Google App Engine
This is Rietveld 408576698