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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathElement.cpp

Issue 1408143004: Use PathSegmentData+SVGPath{Consumer,Source} in PathSVGInterpolation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: InterpolatedPathSource Created 5 years, 2 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 a59e280b41d634f58b3d0468ad9afd61544a92e5..4ce0cbf14ca420471bfa342a949e378ed902d7d0 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
@@ -92,24 +92,24 @@ DEFINE_NODE_FACTORY(SVGPathElement)
Path SVGPathElement::asPath() const
{
Path path;
- buildPathFromByteStream(*pathByteStream(), path);
+ buildPathFromByteStream(pathByteStream(), path);
return path;
}
float SVGPathElement::getTotalLength()
{
- return getTotalLengthOfSVGPathByteStream(*pathByteStream());
+ return getTotalLengthOfSVGPathByteStream(pathByteStream());
}
PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGPathElement::getPointAtLength(float length)
{
- FloatPoint point = getPointAtLengthOfSVGPathByteStream(*pathByteStream(), length);
+ FloatPoint point = getPointAtLengthOfSVGPathByteStream(pathByteStream(), length);
return SVGPointTearOff::create(SVGPoint::create(point), 0, PropertyIsNotAnimVal);
}
unsigned SVGPathElement::getPathSegAtLength(float length)
{
- return getSVGPathSegAtLengthFromSVGPathByteStream(*pathByteStream(), length);
+ return getSVGPathSegAtLengthFromSVGPathByteStream(pathByteStream(), length);
}
PassRefPtrWillBeRawPtr<SVGPathSegClosePath> SVGPathElement::createSVGPathSegClosePath()
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathElement.h ('k') | third_party/WebKit/Source/core/svg/SVGPathSeg.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698