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

Unified Diff: third_party/WebKit/Source/core/svg/SVGBoolean.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/SVGBoolean.h
diff --git a/third_party/WebKit/Source/core/svg/SVGBoolean.h b/third_party/WebKit/Source/core/svg/SVGBoolean.h
index c04e5fb660bd7c3312eaec21e07d8511b22fa3df..e1f27ad048614ce7d8a79410cef7b689b06993a2 100644
--- a/third_party/WebKit/Source/core/svg/SVGBoolean.h
+++ b/third_party/WebKit/Source/core/svg/SVGBoolean.h
@@ -42,19 +42,19 @@ public:
typedef void TearOffType;
typedef bool PrimitiveType;
- static PassRefPtrWillBeRawPtr<SVGBoolean> create(bool value = false)
+ static RawPtr<SVGBoolean> create(bool value = false)
{
- return adoptRefWillBeNoop(new SVGBoolean(value));
+ return new SVGBoolean(value);
}
- PassRefPtrWillBeRawPtr<SVGBoolean> clone() const { return create(m_value); }
+ RawPtr<SVGBoolean> clone() const { return create(m_value); }
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;
bool value() const { return m_value; }
void setValue(bool value) { m_value = value; }
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp ('k') | third_party/WebKit/Source/core/svg/SVGBoolean.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698