DescriptionClean up the getLayoutSVGResource*ById helpers
Drop getLayoutSVGResourceContainerById helper, since we can just use
SVGTreeScopeResources::resourceById directly.
For getLayoutSVGResourceById, rather than calling through
TreeScope::ensureSVGTreeScopedResources, just pass the
SVGTreeScopeResources and do the lookup from there. Said object is
already available in the relevant places (only the layout tree dumping
needs to be updated wrt that.)
BUG=454767
Review-Url: https://codereview.chromium.org/2708543003
Cr-Commit-Position: refs/heads/master@{#451839}
Committed: https://chromium.googlesource.com/chromium/src/+/7161f0e4a74110c45b7ca11fd3292a8c3ea7b965
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|