DescriptionSimplify SVG pending resource (re)validation
The contents of the m_pendingResourcesForRemoval map has a lifespan that
does not extend beyond the scope of SVGElement's
buildPendingResourcesIfNeeded() method.
So instead of passing through the map in SVGDocumentExtensions, just
take the corresponding set for the pending 'id' and iterate that
directly, avoiding indirection and complicated removal sequence.
This also allow SVGDocumentExtensions::removeElementFromPendingResources
to be simplified, so do that, and then remove the
m_pendingResourcesForRemoval map from SVGDocumentExtensions.
BUG=661598
Committed: https://crrev.com/9365003f3f4f921445eeb94413d7a29f996b4148
Cr-Commit-Position: refs/heads/master@{#429539}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|