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

Unified Diff: third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.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/SVGIntegerOptionalInteger.h
diff --git a/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h b/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
index baff70f96935fd8847e5476a094d995f3859905d..97de9f2ef45bfaa97aac5d6933ea0cecb6a6b8c4 100644
--- a/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
+++ b/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
@@ -43,33 +43,33 @@ public:
typedef void TearOffType;
typedef void PrimitiveType;
- static PassRefPtrWillBeRawPtr<SVGIntegerOptionalInteger> create(PassRefPtrWillBeRawPtr<SVGInteger> firstInteger, PassRefPtrWillBeRawPtr<SVGInteger> secondInteger)
+ static RawPtr<SVGIntegerOptionalInteger> create(RawPtr<SVGInteger> firstInteger, RawPtr<SVGInteger> secondInteger)
{
- return adoptRefWillBeNoop(new SVGIntegerOptionalInteger(firstInteger, secondInteger));
+ return new SVGIntegerOptionalInteger(firstInteger, secondInteger);
}
- PassRefPtrWillBeRawPtr<SVGIntegerOptionalInteger> clone() const;
- PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
+ RawPtr<SVGIntegerOptionalInteger> 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> 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 AnimatedIntegerOptionalInteger; }
- PassRefPtrWillBeRawPtr<SVGInteger> firstInteger() const { return m_firstInteger; }
- PassRefPtrWillBeRawPtr<SVGInteger> secondInteger() const { return m_secondInteger; }
+ RawPtr<SVGInteger> firstInteger() const { return m_firstInteger; }
+ RawPtr<SVGInteger> secondInteger() const { return m_secondInteger; }
DECLARE_VIRTUAL_TRACE();
protected:
- SVGIntegerOptionalInteger(PassRefPtrWillBeRawPtr<SVGInteger> firstInteger, PassRefPtrWillBeRawPtr<SVGInteger> secondInteger);
+ SVGIntegerOptionalInteger(RawPtr<SVGInteger> firstInteger, RawPtr<SVGInteger> secondInteger);
- RefPtrWillBeMember<SVGInteger> m_firstInteger;
- RefPtrWillBeMember<SVGInteger> m_secondInteger;
+ Member<SVGInteger> m_firstInteger;
+ Member<SVGInteger> m_secondInteger;
};
DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGIntegerOptionalInteger);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGInteger.cpp ('k') | third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698