commit | d144f9da4f10a0e4ded74c2fe95d56d3d1d757ca | [log] [tgz] |
---|---|---|
author | fs@opera.com <fs@opera.com> | Wed Feb 18 16:09:19 2015 |
committer | fs@opera.com <fs@opera.com> | Wed Feb 18 16:09:19 2015 |
tree | ebad838e7f832bd22677adcaa1cb0b2ac178815f | |
parent | 4225b4624ae49136cb50bba026cfad125da2535a [diff] |
Simplify SVGLengthContext::valueForLength The floatValueForLength helper handles the Percent type, so no need to special-case that. Only resolve the viewport if there's a chance that it'll be used. Mark as const. Review URL: https://codereview.chromium.org/933313003 git-svn-id: svn://svn.chromium.org/blink/trunk@190431 bbb929c8-8fbe-4397-9dbb-9b2b20218538