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

Unified Diff: third_party/WebKit/Source/core/svg/SVGLength.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/SVGLength.h
diff --git a/third_party/WebKit/Source/core/svg/SVGLength.h b/third_party/WebKit/Source/core/svg/SVGLength.h
index ea7d41713782ab449a17fdc16dd0245217fe3133..77c2f1574713248e18e7ebb15a8d452974f05274 100644
--- a/third_party/WebKit/Source/core/svg/SVGLength.h
+++ b/third_party/WebKit/Source/core/svg/SVGLength.h
@@ -37,15 +37,15 @@ class SVGLength final : public SVGPropertyBase {
public:
typedef SVGLengthTearOff TearOffType;
- static PassRefPtrWillBeRawPtr<SVGLength> create(SVGLengthMode mode = SVGLengthMode::Other)
+ static RawPtr<SVGLength> create(SVGLengthMode mode = SVGLengthMode::Other)
{
- return adoptRefWillBeNoop(new SVGLength(mode));
+ return new SVGLength(mode);
}
DECLARE_VIRTUAL_TRACE();
- PassRefPtrWillBeRawPtr<SVGLength> clone() const;
- PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ RawPtr<SVGLength> clone() const;
+ RawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
CSSPrimitiveValue::UnitType typeWithCalcResolved() const { return m_value->typeWithCalcResolved(); }
void setUnitType(CSSPrimitiveValue::UnitType);
@@ -91,9 +91,9 @@ public:
static SVGLengthMode lengthModeForAnimatedLengthAttribute(const QualifiedName&);
static bool negativeValuesForbiddenForAnimatedLengthAttribute(const QualifiedName&);
- 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 AnimatedLength; }
@@ -101,7 +101,7 @@ private:
SVGLength(SVGLengthMode);
SVGLength(const SVGLength&);
- RefPtrWillBeMember<CSSPrimitiveValue> m_value;
+ Member<CSSPrimitiveValue> m_value;
unsigned m_unitMode : 2;
};
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.cpp ('k') | third_party/WebKit/Source/core/svg/SVGLength.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698