Simplify SVGPathBlender::blendArcToSegment

By factoring the "simple" (same coordinate type) case out of
SVGPathBlender::blendAnimatedFloatPoint, we can simplify the blending
of rx/ry/angle of two arc segments.
Additionally, since the m_fromMode == m_toMode if m_addTypesCount != 0,
the same expression can be used to determine the mode of the blended
segment.

BUG=467592

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

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