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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.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/SVGPreserveAspectRatio.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h b/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h
index ab4b61b98921c546f8d3eec0c476c4af178927b3..c2490ac1d0f62779599115fc25e36be0a7f293a0 100644
--- a/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h
+++ b/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h
@@ -54,12 +54,12 @@ public:
typedef SVGPreserveAspectRatioTearOff TearOffType;
- static PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> create()
+ static RawPtr<SVGPreserveAspectRatio> create()
{
- return adoptRefWillBeNoop(new SVGPreserveAspectRatio());
+ return new SVGPreserveAspectRatio();
}
- virtual PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> clone() const;
+ virtual RawPtr<SVGPreserveAspectRatio> clone() const;
bool operator==(const SVGPreserveAspectRatio&) const;
bool operator!=(const SVGPreserveAspectRatio& other) const { return !operator==(other); }
@@ -81,9 +81,9 @@ public:
bool parse(const UChar*& ptr, const UChar* end, bool validate);
bool parse(const LChar*& ptr, const LChar* end, bool validate);
- 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 AnimatedPreserveAspectRatio; }
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPolyElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698