DescriptionMove common gradient attribute collection to SVGGradientElement
Move the collection of attributes shared by both gradient types to the
base class (collectCommonAttributes.) Introduce a new helper for looking
up a potential element to inherit attributes from. Restructure the
"collection loop" a bit after the common code has been broken out.
This also means that buildStops() can be made private.
BUG=661598
Review-Url: https://codereview.chromium.org/2741993002
Cr-Commit-Position: refs/heads/master@{#456371}
Committed: https://chromium.googlesource.com/chromium/src/+/6729d1ecf49a910999920ee6102bc48821127607
Patch Set 1 #Patch Set 2 : Fix casting #Patch Set 3 : Rebase; fix semantics on find cycle #
Messages
Total messages: 21 (17 generated)
|