commit | 1368ac8914b34af0187b55e048477fd8abf191a2 | [log] [tgz] |
---|---|---|
author | fs@opera.com <fs@opera.com> | Wed Feb 04 19:26:13 2015 |
committer | fs@opera.com <fs@opera.com> | Wed Feb 04 19:26:13 2015 |
tree | 0a50a921ac4630ae2d8ca70cd43a1726d98945e9 | |
parent | f1890bd0af304084d5ef2227787adccef42321db [diff] |
Refactor LengthMode handling in SVGLengthContext The switch that selects the correct "dimension" factor to scale with is repeated three times. Refactor the code so that we get the factor from a helper function instead. Review URL: https://codereview.chromium.org/902593002 git-svn-id: svn://svn.chromium.org/blink/trunk@189523 bbb929c8-8fbe-4397-9dbb-9b2b20218538