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

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, 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/SVGPath.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPath.h b/third_party/WebKit/Source/core/svg/SVGPath.h
index e25ddc719127e7e50fa7caaa23e65a3f7873faa4..0fcdd82fd4b9b83d55a58b03cff85ddbbff6068e 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;
@@ -58,14 +58,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; }
@@ -73,9 +73,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);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGNumberTearOff.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698