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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathElement.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/SVGPathElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
index 39aaeabe843efd55b41a093caaf5a3543b406c7e..448e108a64c0083161dc7f9770bfc1e7762402ba 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
@@ -32,9 +32,9 @@ namespace blink {
class SVGAnimatedPathLength final : public SVGAnimatedNumber {
public:
- static PassRefPtrWillBeRawPtr<SVGAnimatedPathLength> create(SVGPathElement* contextElement)
+ static RawPtr<SVGAnimatedPathLength> create(SVGPathElement* contextElement)
{
- return adoptRefWillBeNoop(new SVGAnimatedPathLength(contextElement));
+ return new SVGAnimatedPathLength(contextElement);
}
SVGParsingError setBaseValueAsString(const String& value) override
@@ -107,7 +107,7 @@ float SVGPathElement::getTotalLength()
return SVGPathQuery(pathByteStream()).getTotalLength();
}
-PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGPathElement::getPointAtLength(float length)
+RawPtr<SVGPointTearOff> SVGPathElement::getPointAtLength(float length)
{
document().updateLayoutIgnorePendingStylesheets();
FloatPoint point = SVGPathQuery(pathByteStream()).getPointAtLength(length);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathElement.h ('k') | third_party/WebKit/Source/core/svg/SVGPatternElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698