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

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

Issue 734053005: Remove globalSVGPath* from SVGPathUtilities.cpp (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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: Source/core/svg/SVGPathElement.cpp
diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp
index 38cf5c25078496ef8e4d50f643569e3785153da5..b26d619e6b60a1bdadbd39a38cbcb890cbe1e54b 100644
--- a/Source/core/svg/SVGPathElement.cpp
+++ b/Source/core/svg/SVGPathElement.cpp
@@ -69,21 +69,21 @@ DEFINE_NODE_FACTORY(SVGPathElement)
float SVGPathElement::getTotalLength()
{
float totalLength = 0;
- getTotalLengthOfSVGPathByteStream(pathByteStream(), totalLength);
+ getTotalLengthOfSVGPathByteStream(*pathByteStream(), totalLength);
return totalLength;
}
PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGPathElement::getPointAtLength(float length)
{
FloatPoint point;
- getPointAtLengthOfSVGPathByteStream(pathByteStream(), length, point);
+ getPointAtLengthOfSVGPathByteStream(*pathByteStream(), length, point);
return SVGPointTearOff::create(SVGPoint::create(point), 0, PropertyIsNotAnimVal);
}
unsigned SVGPathElement::getPathSegAtLength(float length)
{
unsigned pathSeg = 0;
- getSVGPathSegAtLengthFromSVGPathByteStream(pathByteStream(), length, pathSeg);
+ getSVGPathSegAtLengthFromSVGPathByteStream(*pathByteStream(), length, pathSeg);
return pathSeg;
}

Powered by Google App Engine
This is Rietveld 408576698