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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.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/SVGAnimatedNumberOptionalNumber.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.h b/third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.h
index 0c819380ba2ed6408ff3824c845def7bed0f2ac2..2c95209b5f2617e29d728ec939f26bb40a5ae9ec 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.h
@@ -44,12 +44,12 @@ namespace blink {
// For example, see SVGFEDropShadowElement::stdDeviation{X,Y}()
class SVGAnimatedNumberOptionalNumber : public SVGAnimatedPropertyCommon<SVGNumberOptionalNumber> {
public:
- static PassRefPtrWillBeRawPtr<SVGAnimatedNumberOptionalNumber> create(SVGElement* contextElement, const QualifiedName& attributeName, float initialFirstValue = 0, float initialSecondValue = 0)
+ static RawPtr<SVGAnimatedNumberOptionalNumber> create(SVGElement* contextElement, const QualifiedName& attributeName, float initialFirstValue = 0, float initialSecondValue = 0)
{
- return adoptRefWillBeNoop(new SVGAnimatedNumberOptionalNumber(contextElement, attributeName, initialFirstValue, initialSecondValue));
+ return new SVGAnimatedNumberOptionalNumber(contextElement, attributeName, initialFirstValue, initialSecondValue);
}
- void setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase>) override;
+ void setAnimatedValue(RawPtr<SVGPropertyBase>) override;
bool needsSynchronizeAttribute() override;
void animationEnded() override;
@@ -61,8 +61,8 @@ public:
protected:
SVGAnimatedNumberOptionalNumber(SVGElement* contextElement, const QualifiedName& attributeName, float initialFirstValue, float initialSecondValue);
- RefPtrWillBeMember<SVGAnimatedNumber> m_firstNumber;
- RefPtrWillBeMember<SVGAnimatedNumber> m_secondNumber;
+ Member<SVGAnimatedNumber> m_firstNumber;
+ Member<SVGAnimatedNumber> m_secondNumber;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698