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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTransform.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/svg/SVGTransform.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTransform.cpp b/third_party/WebKit/Source/core/svg/SVGTransform.cpp
index 7e526f74f02ea49f2d2913af16eba1783fd35391..c978e3f71887090bd1706ef14e52a48bc86864a2 100644
--- a/third_party/WebKit/Source/core/svg/SVGTransform.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTransform.cpp
@@ -64,12 +64,12 @@ SVGTransform::~SVGTransform()
{
}
-PassRefPtrWillBeRawPtr<SVGTransform> SVGTransform::clone() const
+RawPtr<SVGTransform> SVGTransform::clone() const
{
- return adoptRefWillBeNoop(new SVGTransform(m_transformType, m_angle, m_center, m_matrix));
+ return new SVGTransform(m_transformType, m_angle, m_center, m_matrix);
}
-PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGTransform::cloneForAnimation(const String&) const
+RawPtr<SVGPropertyBase> SVGTransform::cloneForAnimation(const String&) const
{
// SVGTransform is never animated.
ASSERT_NOT_REACHED();
@@ -235,19 +235,19 @@ String SVGTransform::valueAsString() const
return builder.toString();
}
-void SVGTransform::add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
+void SVGTransform::add(RawPtr<SVGPropertyBase>, SVGElement*)
{
// SVGTransform is not animated by itself.
ASSERT_NOT_REACHED();
}
-void SVGTransform::calculateAnimatedValue(SVGAnimationElement*, float, unsigned, PassRefPtrWillBeRawPtr<SVGPropertyBase>, PassRefPtrWillBeRawPtr<SVGPropertyBase>, PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
+void SVGTransform::calculateAnimatedValue(SVGAnimationElement*, float, unsigned, RawPtr<SVGPropertyBase>, RawPtr<SVGPropertyBase>, RawPtr<SVGPropertyBase>, SVGElement*)
{
// SVGTransform is not animated by itself.
ASSERT_NOT_REACHED();
}
-float SVGTransform::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
+float SVGTransform::calculateDistance(RawPtr<SVGPropertyBase>, SVGElement*)
{
// SVGTransform is not animated by itself.
ASSERT_NOT_REACHED();
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTransform.h ('k') | third_party/WebKit/Source/core/svg/SVGTransform.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698