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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPointList.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/SVGPointList.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPointList.cpp b/third_party/WebKit/Source/core/svg/SVGPointList.cpp
index b58f3d2116d2654d8e0e134b6be2eb6f9b8c203f..e974c391ea7e630c6918773b5a0b34032a157e17 100644
--- a/third_party/WebKit/Source/core/svg/SVGPointList.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPointList.cpp
@@ -102,9 +102,9 @@ SVGParsingError SVGPointList::setValueAsString(const String& value)
return parse(ptr, end);
}
-void SVGPointList::add(PassRefPtrWillBeRawPtr<SVGPropertyBase> other, SVGElement* contextElement)
+void SVGPointList::add(RawPtr<SVGPropertyBase> other, SVGElement* contextElement)
{
- RefPtrWillBeRawPtr<SVGPointList> otherList = toSVGPointList(other);
+ RawPtr<SVGPointList> otherList = toSVGPointList(other);
if (length() != otherList->length())
return;
@@ -113,11 +113,11 @@ void SVGPointList::add(PassRefPtrWillBeRawPtr<SVGPropertyBase> other, SVGElement
at(i)->setValue(at(i)->value() + otherList->at(i)->value());
}
-void SVGPointList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> fromValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
+void SVGPointList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, RawPtr<SVGPropertyBase> fromValue, RawPtr<SVGPropertyBase> toValue, RawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement)
{
- RefPtrWillBeRawPtr<SVGPointList> fromList = toSVGPointList(fromValue);
- RefPtrWillBeRawPtr<SVGPointList> toList = toSVGPointList(toValue);
- RefPtrWillBeRawPtr<SVGPointList> toAtEndOfDurationList = toSVGPointList(toAtEndOfDurationValue);
+ RawPtr<SVGPointList> fromList = toSVGPointList(fromValue);
+ RawPtr<SVGPointList> toList = toSVGPointList(toValue);
+ RawPtr<SVGPointList> toAtEndOfDurationList = toSVGPointList(toAtEndOfDurationValue);
size_t fromPointListSize = fromList->length();
size_t toPointListSize = toList->length();
@@ -144,7 +144,7 @@ void SVGPointList::calculateAnimatedValue(SVGAnimationElement* animationElement,
}
}
-float SVGPointList::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*)
+float SVGPointList::calculateDistance(RawPtr<SVGPropertyBase> to, SVGElement*)
{
// FIXME: Distance calculation is not possible for SVGPointList right now. We need the distance for every single value.
return -1;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPointList.h ('k') | third_party/WebKit/Source/core/svg/SVGPointList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698