diff options
Diffstat (limited to 'filter/source/svg/presentation_engine.js')
-rw-r--r-- | filter/source/svg/presentation_engine.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js index f6db576a898b..7dbe377697dd 100644 --- a/filter/source/svg/presentation_engine.js +++ b/filter/source/svg/presentation_engine.js @@ -1532,7 +1532,7 @@ function configureDetectionTools() return flag; }; - Source.prototype.parseSegment = function() { + Source.prototype.parseSegment = function(owningPathSegList) { var lookahead = this._string[this._currentIndex]; var command = this._pathSegTypeFromChar(lookahead); if (command == SVGPathSeg.PATHSEG_UNKNOWN) { @@ -1638,7 +1638,7 @@ function configureDetectionTools() return []; var builder = new Builder(); while (source.hasMoreData()) { - var pathSeg = source.parseSegment(); + var pathSeg = source.parseSegment(owningPathSegList); if (!pathSeg) return []; builder.appendSegment(pathSeg); |