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

Unified Diff: third_party/WebKit/Source/core/svg/SVGRect.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/SVGRect.h
diff --git a/third_party/WebKit/Source/core/svg/SVGRect.h b/third_party/WebKit/Source/core/svg/SVGRect.h
index 49eed081e9c566a7899122d1e5f85251084fc8d4..3008d71b42c5e279446a6c81b81e92d83881be15 100644
--- a/third_party/WebKit/Source/core/svg/SVGRect.h
+++ b/third_party/WebKit/Source/core/svg/SVGRect.h
@@ -33,24 +33,24 @@ class SVGRect : public SVGPropertyHelper<SVGRect> {
public:
typedef SVGRectTearOff TearOffType;
- static PassRefPtrWillBeRawPtr<SVGRect> create()
+ static RawPtr<SVGRect> create()
{
- return adoptRefWillBeNoop(new SVGRect());
+ return new SVGRect();
}
- static PassRefPtrWillBeRawPtr<SVGRect> createInvalid()
+ static RawPtr<SVGRect> createInvalid()
{
- RefPtrWillBeRawPtr<SVGRect> rect = adoptRefWillBeNoop(new SVGRect());
+ RawPtr<SVGRect> rect = new SVGRect();
rect->setInvalid();
return rect.release();
}
- static PassRefPtrWillBeRawPtr<SVGRect> create(const FloatRect& rect)
+ static RawPtr<SVGRect> create(const FloatRect& rect)
{
- return adoptRefWillBeNoop(new SVGRect(rect));
+ return new SVGRect(rect);
}
- PassRefPtrWillBeRawPtr<SVGRect> clone() const;
+ RawPtr<SVGRect> clone() const;
const FloatRect& value() const { return m_value; }
void setValue(const FloatRect& v) { m_value = v; }
@@ -67,9 +67,9 @@ public:
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;
bool isValid() const { return m_isValid; }
void setInvalid();
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGRect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698