DescriptionRemove argument to LayoutSVGResourceGradient::collectGradientAttributes
We can assume that element() is non-null, and just cast it in the
overriding implementations.
Move the synchronizeAnimatedSVGAttribute(...) calls into actual
attribute collection, so that it applies to all elements in the
inheritance chain.
Also rewrite the lengthy comment, because gradient building has changed
significantly from what it describes, and attribute collection now
precedes the actual Gradient construction. Replicate the new comment to
the similar place for <pattern>s.
BUG=661598
Review-Url: https://codereview.chromium.org/2749593002
Cr-Commit-Position: refs/heads/master@{#456662}
Committed: https://chromium.googlesource.com/chromium/src/+/c9632b65e4048becc539dd103028a01a8d60e55c
Patch Set 1 #
Total comments: 3
Patch Set 2 : New comment #Patch Set 3 : Rebase #Messages
Total messages: 25 (16 generated)
|