Commit a7c4aaaa authored by Fredrik Söderqvist's avatar Fredrik Söderqvist Committed by Chromium LUCI CQ

Don't dump resources for LayoutSVGInlineText

Text nodes does not have resources associated with them, so calling
WriteResources() should never output anything.

Bug: 1160415
Change-Id: I223c20eda8fc2a465cc1394850778e78094cfe9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2599523
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Reviewed-by: default avatarStephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#838728}
parent aec8dd6a
......@@ -685,7 +685,6 @@ void WriteSVGInlineText(WTF::TextStream& ts,
WriteStandardPrefix(ts, text, indent);
WritePositionAndStyle(ts, text);
ts << "\n";
WriteResources(ts, text, indent);
WriteSVGInlineTextBoxes(ts, text, indent);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment