DescriptionCleanups to viewport-handling and image invalidation in LayoutSVGImage
Split updateImageViewport into its two (now independent except for the
bbox, so ordering matters still) parts, naming them updateBoundingBox
and updateImageContainerSize.
Stop updating the bbox in imageChanged since updateImageContainerSize
will update the container size of the referenced image regardless.
Also drop the (explicit) SVGResource::removeClientFromCache call from
imageChanged, because markForLayoutAndParentResourceInvalidation is
called just after it, and will do what's required already.
BUG=505444
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198241
Patch Set 1 #
Total comments: 2
Messages
Total messages: 10 (2 generated)
|