SVGPathParser: Move unaltered emits to a separate code-path

Hoist the check for normalized parsing/normalization out of the emit*
methods, and with it the non-normalized emittal out of emit*. This type
of emittal is trivial, so the use of SVGPathParser::m_mode can be
avoided altogther in this code-path.
This leaves the emit* methods with only doing normalized emittals, and
SVGPathParser::m_pathParsingMode only needs to be checked in the main
parsing method, so it becomes possible to just use the parameter
directly.

BUG=467592

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

git-svn-id: svn://svn.chromium.org/blink/trunk@192369 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed