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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPoint.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/SVGPoint.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPoint.h b/third_party/WebKit/Source/core/svg/SVGPoint.h
index dcfea876b089eebcd3d83f7955f4a27548c0a30e..a4eba21d00a59c4c283fc4f4fb8476ceead55f9a 100644
--- a/third_party/WebKit/Source/core/svg/SVGPoint.h
+++ b/third_party/WebKit/Source/core/svg/SVGPoint.h
@@ -44,17 +44,17 @@ class SVGPoint : public SVGPropertyHelper<SVGPoint> {
public:
typedef SVGPointTearOff TearOffType;
- static PassRefPtrWillBeRawPtr<SVGPoint> create()
+ static RawPtr<SVGPoint> create()
{
- return adoptRefWillBeNoop(new SVGPoint());
+ return new SVGPoint();
}
- static PassRefPtrWillBeRawPtr<SVGPoint> create(const FloatPoint& point)
+ static RawPtr<SVGPoint> create(const FloatPoint& point)
{
- return adoptRefWillBeNoop(new SVGPoint(point));
+ return new SVGPoint(point);
}
- PassRefPtrWillBeRawPtr<SVGPoint> clone() const;
+ RawPtr<SVGPoint> clone() const;
const FloatPoint& value() const { return m_value; }
void setValue(const FloatPoint& value) { m_value = value; }
@@ -69,9 +69,9 @@ public:
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 AnimatedPoint; }
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPatternElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPoint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698