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

Unified Diff: third_party/WebKit/Source/core/svg/SVGEnumeration.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/SVGEnumeration.h
diff --git a/third_party/WebKit/Source/core/svg/SVGEnumeration.h b/third_party/WebKit/Source/core/svg/SVGEnumeration.h
index 3eda15a623d032302b6759537db729e8006909ef..efc388545a809cb177c54690dd2615945299ada0 100644
--- a/third_party/WebKit/Source/core/svg/SVGEnumeration.h
+++ b/third_party/WebKit/Source/core/svg/SVGEnumeration.h
@@ -51,15 +51,15 @@ public:
void setValue(unsigned short);
// SVGPropertyBase:
- virtual PassRefPtrWillBeRawPtr<SVGEnumerationBase> clone() const = 0;
- PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ virtual RawPtr<SVGEnumerationBase> clone() const = 0;
+ 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> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, 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> from, RawPtr<SVGPropertyBase> to, RawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override;
+ float calculateDistance(RawPtr<SVGPropertyBase> to, SVGElement*) override;
static AnimatedPropertyType classType() { return AnimatedEnumeration; }
@@ -99,14 +99,14 @@ template<typename Enum> unsigned short getMaxExposedEnumValue()
template<typename Enum>
class SVGEnumeration : public SVGEnumerationBase {
public:
- static PassRefPtrWillBeRawPtr<SVGEnumeration<Enum>> create(Enum newValue)
+ static RawPtr<SVGEnumeration<Enum>> create(Enum newValue)
{
- return adoptRefWillBeNoop(new SVGEnumeration<Enum>(newValue));
+ return new SVGEnumeration<Enum>(newValue);
}
~SVGEnumeration() override {}
- PassRefPtrWillBeRawPtr<SVGEnumerationBase> clone() const override
+ RawPtr<SVGEnumerationBase> clone() const override
{
return create(enumValue());
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGEllipseElement.h ('k') | third_party/WebKit/Source/core/svg/SVGEnumeration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698