DescriptionRefine invalidation of filter clients in LayoutSVGResourceContainer
When an outermost <svg> had a non-filter-induced layer it would fall
into the layer-oriented code-path in
LayoutSVGResourceContainer::registerResource even if it didn't have a
'-webkit-filter' property. Because of this, the layout object would not
get invalidated (if it had a 'filter' property).
Refine the conditions involved to allow both properties to trigger
invalidations as needed. Also avoid the filter invalidation hack when
possible and take the opportunity to make good use of a for-range loop.
BUG=535800
Committed: https://crrev.com/4be2af35bd819f0958d0d12a17e96b892b8fb5a5
Cr-Commit-Position: refs/heads/master@{#350900}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Drop unused misspellings. #
Messages
Total messages: 10 (3 generated)
|