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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPath.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/SVGPath.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPath.h b/third_party/WebKit/Source/core/svg/SVGPath.h
index f27f34c2190f9cbd2234b265aa29b979f84e33a5..9afbd52ec8d3b4071e819fb922eddcd58fbec600 100644
--- a/third_party/WebKit/Source/core/svg/SVGPath.h
+++ b/third_party/WebKit/Source/core/svg/SVGPath.h
@@ -42,13 +42,13 @@ class SVGPath : public SVGPropertyBase {
public:
typedef void TearOffType;
- static PassRefPtrWillBeRawPtr<SVGPath> create()
+ static RawPtr<SVGPath> create()
{
- return adoptRefWillBeNoop(new SVGPath());
+ return (new SVGPath());
}
- static PassRefPtrWillBeRawPtr<SVGPath> create(PassRefPtrWillBeRawPtr<CSSPathValue> pathValue)
+ static RawPtr<SVGPath> create(RawPtr<CSSPathValue> pathValue)
{
- return adoptRefWillBeNoop(new SVGPath(pathValue));
+ return (new SVGPath(pathValue));
}
~SVGPath() override;
@@ -57,14 +57,14 @@ public:
CSSPathValue* pathValue() const { return m_pathValue.get(); }
// SVGPropertyBase:
- PassRefPtrWillBeRawPtr<SVGPath> clone() const;
- PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ RawPtr<SVGPath> clone() const;
+ RawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
String valueAsString() const override;
SVGParsingError setValueAsString(const String&);
- void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
- void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> fromValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override;
- float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*) override;
+ void add(RawPtr<SVGPropertyBase>, SVGElement*) override;
+ void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, RawPtr<SVGPropertyBase> fromValue, RawPtr<SVGPropertyBase> toValue, RawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override;
+ float calculateDistance(RawPtr<SVGPropertyBase> to, SVGElement*) override;
static AnimatedPropertyType classType() { return AnimatedPath; }
@@ -72,9 +72,9 @@ public:
private:
SVGPath();
- explicit SVGPath(PassRefPtrWillBeRawPtr<CSSPathValue>);
+ explicit SVGPath(RawPtr<CSSPathValue>);
- RefPtrWillBeMember<CSSPathValue> m_pathValue;
+ Member<CSSPathValue> m_pathValue;
};
DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGPath);

Powered by Google App Engine
This is Rietveld 408576698