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

Unified Diff: third_party/WebKit/Source/core/animation/SVGValueInterpolationType.cpp

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/animation/SVGValueInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/SVGValueInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGValueInterpolationType.cpp
index 530f7cea6db5d443d518dd2b548da1bbef88cbcb..48cb024d566898c6f77ef1a16337b1a96a737dcc 100644
--- a/third_party/WebKit/Source/core/animation/SVGValueInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/SVGValueInterpolationType.cpp
@@ -14,21 +14,21 @@ class SVGValueNonInterpolableValue : public NonInterpolableValue {
public:
virtual ~SVGValueNonInterpolableValue() {}
- static PassRefPtr<SVGValueNonInterpolableValue> create(PassRefPtrWillBeRawPtr<SVGPropertyBase> svgValue)
+ static PassRefPtr<SVGValueNonInterpolableValue> create(RawPtr<SVGPropertyBase> svgValue)
{
return adoptRef(new SVGValueNonInterpolableValue(svgValue));
}
- PassRefPtrWillBeRawPtr<SVGPropertyBase> svgValue() const { return m_svgValue; }
+ RawPtr<SVGPropertyBase> svgValue() const { return m_svgValue; }
DECLARE_NON_INTERPOLABLE_VALUE_TYPE();
private:
- SVGValueNonInterpolableValue(PassRefPtrWillBeRawPtr<SVGPropertyBase> svgValue)
+ SVGValueNonInterpolableValue(RawPtr<SVGPropertyBase> svgValue)
: m_svgValue(svgValue)
{}
- RefPtrWillBePersistent<SVGPropertyBase> m_svgValue;
+ Persistent<SVGPropertyBase> m_svgValue;
};
DEFINE_NON_INTERPOLABLE_VALUE_TYPE(SVGValueNonInterpolableValue);
@@ -36,11 +36,11 @@ DEFINE_NON_INTERPOLABLE_VALUE_TYPE_CASTS(SVGValueNonInterpolableValue);
InterpolationValue SVGValueInterpolationType::maybeConvertSVGValue(const SVGPropertyBase& value) const
{
- RefPtrWillBeRawPtr<SVGPropertyBase> referencedValue = const_cast<SVGPropertyBase*>(&value); // Take ref.
+ RawPtr<SVGPropertyBase> referencedValue = const_cast<SVGPropertyBase*>(&value); // Take ref.
return InterpolationValue(InterpolableList::create(0), SVGValueNonInterpolableValue::create(referencedValue.release()));
}
-PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGValueInterpolationType::appliedSVGValue(const InterpolableValue&, const NonInterpolableValue* nonInterpolableValue) const
+RawPtr<SVGPropertyBase> SVGValueInterpolationType::appliedSVGValue(const InterpolableValue&, const NonInterpolableValue* nonInterpolableValue) const
{
return toSVGValueNonInterpolableValue(*nonInterpolableValue).svgValue();
}

Powered by Google App Engine
This is Rietveld 408576698