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

Unified Diff: third_party/WebKit/Source/core/svg/SVGEnumeration.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/SVGEnumeration.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGEnumeration.cpp b/third_party/WebKit/Source/core/svg/SVGEnumeration.cpp
index d03b995d80aa762fa4a97e7f2a681a43f5e97f67..ebe3f8f4ee98936a4427e10ceba30f5a0df3e426 100644
--- a/third_party/WebKit/Source/core/svg/SVGEnumeration.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGEnumeration.cpp
@@ -40,9 +40,9 @@ SVGEnumerationBase::~SVGEnumerationBase()
{
}
-PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGEnumerationBase::cloneForAnimation(const String& value) const
+RawPtr<SVGPropertyBase> SVGEnumerationBase::cloneForAnimation(const String& value) const
{
- RefPtrWillBeRawPtr<SVGEnumerationBase> svgEnumeration = clone();
+ RawPtr<SVGEnumerationBase> svgEnumeration = clone();
svgEnumeration->setValueAsString(value);
return svgEnumeration.release();
}
@@ -80,12 +80,12 @@ SVGParsingError SVGEnumerationBase::setValueAsString(const String& string)
return SVGParseStatus::ExpectedEnumeration;
}
-void SVGEnumerationBase::add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
+void SVGEnumerationBase::add(RawPtr<SVGPropertyBase>, SVGElement*)
{
ASSERT_NOT_REACHED();
}
-void SVGEnumerationBase::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
+void SVGEnumerationBase::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, RawPtr<SVGPropertyBase> from, RawPtr<SVGPropertyBase> to, RawPtr<SVGPropertyBase>, SVGElement*)
{
ASSERT(animationElement);
unsigned short fromEnumeration = animationElement->getAnimationMode() == ToAnimation ? m_value : toSVGEnumerationBase(from)->value();
@@ -94,7 +94,7 @@ void SVGEnumerationBase::calculateAnimatedValue(SVGAnimationElement* animationEl
animationElement->animateDiscreteType<unsigned short>(percentage, fromEnumeration, toEnumeration, m_value);
}
-float SVGEnumerationBase::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
+float SVGEnumerationBase::calculateDistance(RawPtr<SVGPropertyBase>, SVGElement*)
{
// No paced animations for boolean.
return -1;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGEnumeration.h ('k') | third_party/WebKit/Source/core/svg/SVGFEBlendElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698