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

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

Powered by Google App Engine
This is Rietveld 408576698