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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTransform.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/SVGTransform.h
diff --git a/third_party/WebKit/Source/core/svg/SVGTransform.h b/third_party/WebKit/Source/core/svg/SVGTransform.h
index ecdc20f4ba71b05dbf00809a2a260351c02db837..55d3d27a92d08e63f26824c7bfe7301a03e56740 100644
--- a/third_party/WebKit/Source/core/svg/SVGTransform.h
+++ b/third_party/WebKit/Source/core/svg/SVGTransform.h
@@ -50,25 +50,25 @@ public:
ConstructZeroTransform
};
- static PassRefPtrWillBeRawPtr<SVGTransform> create()
+ static RawPtr<SVGTransform> create()
{
- return adoptRefWillBeNoop(new SVGTransform());
+ return new SVGTransform();
}
- static PassRefPtrWillBeRawPtr<SVGTransform> create(SVGTransformType type, ConstructionMode mode = ConstructIdentityTransform)
+ static RawPtr<SVGTransform> create(SVGTransformType type, ConstructionMode mode = ConstructIdentityTransform)
{
- return adoptRefWillBeNoop(new SVGTransform(type, mode));
+ return new SVGTransform(type, mode);
}
- static PassRefPtrWillBeRawPtr<SVGTransform> create(const AffineTransform& affineTransform)
+ static RawPtr<SVGTransform> create(const AffineTransform& affineTransform)
{
- return adoptRefWillBeNoop(new SVGTransform(affineTransform));
+ return new SVGTransform(affineTransform);
}
~SVGTransform() override;
- PassRefPtrWillBeRawPtr<SVGTransform> clone() const;
- PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ RawPtr<SVGTransform> clone() const;
+ RawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
SVGTransformType transformType() const { return m_transformType; }
@@ -94,9 +94,9 @@ public:
String valueAsString() const override;
- 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 AnimatedTransform; }
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTitleElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGTransform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698