Index: third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp b/third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp |
index 04043bc4db9353958d46550c7ddc16f2d5b6cc35..907f8d1e587cc76527a958692ddc7093ca5a02e9 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp |
@@ -20,11 +20,9 @@ |
#include "config.h" |
#include "core/svg/SVGPathUtilities.h" |
-#include "core/svg/SVGPathBlender.h" |
#include "core/svg/SVGPathBuilder.h" |
#include "core/svg/SVGPathByteStreamBuilder.h" |
#include "core/svg/SVGPathByteStreamSource.h" |
-#include "core/svg/SVGPathElement.h" |
#include "core/svg/SVGPathParser.h" |
#include "core/svg/SVGPathStringBuilder.h" |
#include "core/svg/SVGPathStringSource.h" |
@@ -85,21 +83,6 @@ bool buildSVGPathByteStreamFromString(const String& d, SVGPathByteStream& result |
return ok; |
} |
-bool addToSVGPathByteStream(SVGPathByteStream& fromStream, const SVGPathByteStream& byStream, unsigned repeatCount) |
-{ |
- if (fromStream.isEmpty() || byStream.isEmpty()) |
- return true; |
- |
- OwnPtr<SVGPathByteStream> fromStreamCopy = fromStream.copy(); |
- fromStream.clear(); |
- |
- SVGPathByteStreamBuilder builder(fromStream); |
- SVGPathByteStreamSource fromSource(*fromStreamCopy); |
- SVGPathByteStreamSource bySource(byStream); |
- SVGPathBlender blender(&fromSource, &bySource, &builder); |
- return blender.addAnimatedPath(repeatCount); |
-} |
- |
unsigned getSVGPathSegAtLengthFromSVGPathByteStream(const SVGPathByteStream& stream, float length) |
{ |
if (stream.isEmpty()) |