diff options
author | fs <fs@opera.com> | 2015-12-22 22:25:35 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-23 06:26:59 +0000 |
commit | bf2f7bc27f6baa44286fea07e39540c3ac8db77d (patch) | |
tree | ef2c58e6b2862858a24a67d4267a53aa50cb20e2 /extensions/utility | |
parent | b9162d8ff938a68124b3cc2393c2b4568b59f584 (diff) | |
download | chromium_src-bf2f7bc27f6baa44286fea07e39540c3ac8db77d.zip chromium_src-bf2f7bc27f6baa44286fea07e39540c3ac8db77d.tar.gz chromium_src-bf2f7bc27f6baa44286fea07e39540c3ac8db77d.tar.bz2 |
Refactor propagation of parsing errors for SVG attributes
Use the return value of SVG{...}::setValueAsString to signal errors
rather than an out parameter and the (mostly faux) ExceptionState
object (for setBaseValueAsString). In the few cases where the latter
is not using an TrackExceptionState - in tear-offs for SVGAngle and
SVGLength - it's easy enough to handle the exception-throwing there
and then.
This makes SVG{...} objects mostly independent of ExceptionState,
saving on footprint from string-construction and argument passing as
a side-effect.
Also remove some unnecessary virtuals on SVGInteger and
SVGPreserveAspectRatio.
BUG=231612
Review URL: https://codereview.chromium.org/1544673003
Cr-Commit-Position: refs/heads/master@{#366715}
Diffstat (limited to 'extensions/utility')
0 files changed, 0 insertions, 0 deletions