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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAngle.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/SVGAngle.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAngle.h b/third_party/WebKit/Source/core/svg/SVGAngle.h
index a915f85063bc1d7b717f52675012b05c7058fbd3..e10437257bfc0e525bca02453b53a3c1641d0842 100644
--- a/third_party/WebKit/Source/core/svg/SVGAngle.h
+++ b/third_party/WebKit/Source/core/svg/SVGAngle.h
@@ -43,16 +43,16 @@ template<> unsigned short getMaxExposedEnumValue<SVGMarkerOrientType>();
class SVGMarkerOrientEnumeration : public SVGEnumeration<SVGMarkerOrientType> {
public:
- static PassRefPtrWillBeRawPtr<SVGMarkerOrientEnumeration> create(SVGAngle* angle)
+ static RawPtr<SVGMarkerOrientEnumeration> create(SVGAngle* angle)
{
- return adoptRefWillBeNoop(new SVGMarkerOrientEnumeration(angle));
+ return (new SVGMarkerOrientEnumeration(angle));
}
~SVGMarkerOrientEnumeration() override;
- void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
- void calculateAnimatedValue(SVGAnimationElement*, float, unsigned, PassRefPtrWillBeRawPtr<SVGPropertyBase>, PassRefPtrWillBeRawPtr<SVGPropertyBase>, PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
- float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
+ void add(RawPtr<SVGPropertyBase>, SVGElement*) override;
+ void calculateAnimatedValue(SVGAnimationElement*, float, unsigned, RawPtr<SVGPropertyBase>, RawPtr<SVGPropertyBase>, RawPtr<SVGPropertyBase>, SVGElement*) override;
+ float calculateDistance(RawPtr<SVGPropertyBase>, SVGElement*) override;
DECLARE_VIRTUAL_TRACE();
@@ -61,7 +61,7 @@ private:
void notifyChange() override;
- RawPtrWillBeMember<SVGAngle> m_angle;
+ Member<SVGAngle> m_angle;
};
class SVGAngle : public SVGPropertyHelper<SVGAngle> {
@@ -77,9 +77,9 @@ public:
SVG_ANGLETYPE_TURN = 5
};
- static PassRefPtrWillBeRawPtr<SVGAngle> create()
+ static RawPtr<SVGAngle> create()
{
- return adoptRefWillBeNoop(new SVGAngle());
+ return (new SVGAngle());
}
~SVGAngle() override;
@@ -101,14 +101,14 @@ public:
// SVGPropertyBase:
- PassRefPtrWillBeRawPtr<SVGAngle> clone() const;
+ RawPtr<SVGAngle> clone() const;
String valueAsString() const override;
SVGParsingError setValueAsString(const String&);
- void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
- void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override;
- float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement* contextElement) override;
+ void add(RawPtr<SVGPropertyBase>, SVGElement*) override;
+ void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, RawPtr<SVGPropertyBase> from, RawPtr<SVGPropertyBase> to, RawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override;
+ float calculateDistance(RawPtr<SVGPropertyBase> to, SVGElement* contextElement) override;
static AnimatedPropertyType classType() { return AnimatedAngle; }
@@ -122,7 +122,7 @@ private:
SVGAngleType m_unitType;
float m_valueInSpecifiedUnits;
- RefPtrWillBeMember<SVGMarkerOrientEnumeration> m_orientType;
+ Member<SVGMarkerOrientEnumeration> m_orientType;
};
DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGAngle);

Powered by Google App Engine
This is Rietveld 408576698