Split normalized reading from non-normalized in SVGPathParser

Move to parseAndNormalizePath() and parsePath() respectively and move
state to the corresponding one as appropriate.

Default inline parsePathDataFromSource. Since callsite usually pass a
constant PathParsingMode and checkForInitialMoveTo, this allows for
some specialization.

BUG=467592

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

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