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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.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, 10 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/SVGAnimatedEnumeration.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.h b/third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.h
index c07c564da426f4a069f3b7efdae3240c55f5f31c..dd48625b3a2f19e470161c3429ec3f1ecf73015c 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.h
@@ -38,14 +38,14 @@ namespace blink {
template<typename Enum>
class SVGAnimatedEnumeration : public SVGAnimatedEnumerationBase {
public:
- static PassRefPtrWillBeRawPtr<SVGAnimatedEnumeration<Enum>> create(SVGElement* contextElement, const QualifiedName& attributeName, Enum initialValue)
+ static RawPtr<SVGAnimatedEnumeration<Enum>> create(SVGElement* contextElement, const QualifiedName& attributeName, Enum initialValue)
{
- return adoptRefWillBeNoop(new SVGAnimatedEnumeration(contextElement, attributeName, SVGEnumeration<Enum>::create(initialValue)));
+ return (new SVGAnimatedEnumeration(contextElement, attributeName, SVGEnumeration<Enum>::create(initialValue)));
}
- static PassRefPtrWillBeRawPtr<SVGAnimatedEnumeration<Enum>> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGEnumeration<Enum>> initialValue)
+ static RawPtr<SVGAnimatedEnumeration<Enum>> create(SVGElement* contextElement, const QualifiedName& attributeName, RawPtr<SVGEnumeration<Enum>> initialValue)
{
- return adoptRefWillBeNoop(new SVGAnimatedEnumeration(contextElement, attributeName, initialValue));
+ return (new SVGAnimatedEnumeration(contextElement, attributeName, initialValue));
}
SVGEnumeration<Enum>* baseValue()
@@ -64,7 +64,7 @@ public:
}
protected:
- SVGAnimatedEnumeration(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGEnumeration<Enum>> initialValue)
+ SVGAnimatedEnumeration(SVGElement* contextElement, const QualifiedName& attributeName, RawPtr<SVGEnumeration<Enum>> initialValue)
: SVGAnimatedEnumerationBase(contextElement, attributeName, initialValue)
{
}

Powered by Google App Engine
This is Rietveld 408576698