Replace WriteQuotedSVGResource with WriteSVGResourceReferencePrefix
The former is only used once, but we have similar code sequences for the the other two resources handled in WriteResources(). Move this sequence into a new WriteSVGResourceReferencePrefix() function and reuse that for all three. Bug: 1028063 Change-Id: If557d447d3e14702def8b99d8fee659cc316d355 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575030 Auto-Submit: Fredrik Söderquist <fs@opera.com> Commit-Queue: Stephen Chenney <schenney@chromium.org> Reviewed-by:Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#834486}
Showing
Please register or sign in to comment