Move SVGTextChunkBuilder out of SVGTextLayoutEngine

This member of SVGTextLayoutEngine has a very narrow scope in which it
is used. The data produced into it is in practice consumed within the
very same method. Hence move it out of class scope and into function
scope.
Also take the opportunity to move finalizeTransformMatrices() to
SVGTextChunkBuilder as well, since it essentially applies data from
the latter.

Also drop the debug code within DUMP_TEXT_FRAGMENTS.

BUG=486669

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

git-svn-id: svn://svn.chromium.org/blink/trunk@195969 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed
tree: 7812fd3199c07fc3a60f90a7ae35384980363b63
  1. third_party/