Pass segment to decomposeArcToCubic and let it handle exceptional cases

Moves complexity from SVGPathParser::emitArcToSegment, and leaves it
doing just normalization and emittal.

BUG=467592

Review URL: https://codereview.chromium.org/1028183003

git-svn-id: svn://svn.chromium.org/blink/trunk@192398 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: a0c340ff5525811109d9fc1038eaa671cb2025de
  1. third_party/