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

Unified Diff: third_party/WebKit/Source/core/svg/SVGString.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/SVGString.h
diff --git a/third_party/WebKit/Source/core/svg/SVGString.h b/third_party/WebKit/Source/core/svg/SVGString.h
index 0cd90e0ee83a7f9f047d7cb39b548ca2a026683a..ecd7d25dff6f5db7545703583f157fc8f04fd6cd 100644
--- a/third_party/WebKit/Source/core/svg/SVGString.h
+++ b/third_party/WebKit/Source/core/svg/SVGString.h
@@ -42,18 +42,18 @@ public:
typedef void TearOffType;
typedef String PrimitiveType;
- static PassRefPtrWillBeRawPtr<SVGString> create()
+ static RawPtr<SVGString> create()
{
- return adoptRefWillBeNoop(new SVGString());
+ return new SVGString();
}
- static PassRefPtrWillBeRawPtr<SVGString> create(const String& value)
+ static RawPtr<SVGString> create(const String& value)
{
- return adoptRefWillBeNoop(new SVGString(value));
+ return new SVGString(value);
}
- PassRefPtrWillBeRawPtr<SVGString> clone() const { return create(m_value); }
- PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String& value) const override
+ RawPtr<SVGString> clone() const { return create(m_value); }
+ RawPtr<SVGPropertyBase> cloneForAnimation(const String& value) const override
{
return create(value);
}
@@ -65,9 +65,9 @@ public:
return SVGParseStatus::NoError;
}
- 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;
const String& value() const { return m_value; }
void setValue(const String& value) { m_value = value; }
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGStopElement.h ('k') | third_party/WebKit/Source/core/svg/SVGString.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698