commit | 9066391072827588647169227d8e4c05016bb233 | [log] [tgz] |
---|---|---|
author | Fredrik Söderqvist <fs@opera.com> | Fri Sep 04 18:04:55 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Sep 04 18:04:55 2020 |
tree | 4082b5cc182f4097ebfd830ca94f90a6ac223201 | |
parent | f7f838d1802b3aa91502b117cf4240070e65ffc4 [diff] |
Use item type animators for SVG list types where possible For SVGNumberList and SVGLengthList we can forward the Add() and CalculateAnimatedValue() operations to each item (== the item type animator). This may be slightly slower, but avoids duplicating some fairly hairy code (for SVGLength; SVGNumber is fairly trivial). Also move some variable declarations closer to their first use. Remove the redundant 'length' bit from some local variables. Bug: 1017723 Change-Id: Ia0e5047891b1fa8584ecc65524f724ddfafff696 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2392461 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#804567}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.