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

Unified Diff: third_party/WebKit/Source/core/svg/SVGLengthList.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/SVGLengthList.h
diff --git a/third_party/WebKit/Source/core/svg/SVGLengthList.h b/third_party/WebKit/Source/core/svg/SVGLengthList.h
index a379d1359f7c4b3e714eb25583a6812d4239758f..173dd2a12433986edf2a60249d3b13d5cdbcdd8f 100644
--- a/third_party/WebKit/Source/core/svg/SVGLengthList.h
+++ b/third_party/WebKit/Source/core/svg/SVGLengthList.h
@@ -43,9 +43,9 @@ class SVGLengthList final : public SVGListPropertyHelper<SVGLengthList, SVGLengt
public:
typedef SVGLengthListTearOff TearOffType;
- static PassRefPtrWillBeRawPtr<SVGLengthList> create(SVGLengthMode mode = SVGLengthMode::Other)
+ static RawPtr<SVGLengthList> create(SVGLengthMode mode = SVGLengthMode::Other)
{
- return adoptRefWillBeNoop(new SVGLengthList(mode));
+ return new SVGLengthList(mode);
}
~SVGLengthList() override;
@@ -53,14 +53,14 @@ public:
SVGParsingError setValueAsString(const String&);
// SVGPropertyBase:
- PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
- PassRefPtrWillBeRawPtr<SVGLengthList> clone() override;
+ RawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ RawPtr<SVGLengthList> clone() override;
String valueAsString() const override;
SVGLengthMode unitMode() const { return m_mode; }
- 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 AnimatedLengthList; }
@@ -69,7 +69,7 @@ private:
// Create SVGLength items used to adjust the list length
// when animation from/to lists are longer than this list.
- PassRefPtrWillBeRawPtr<SVGLength> createPaddingItem() const override;
+ RawPtr<SVGLength> createPaddingItem() const override;
template <typename CharType>
SVGParsingError parseInternal(const CharType*& ptr, const CharType* end);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGLengthContext.h ('k') | third_party/WebKit/Source/core/svg/SVGLengthList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698