Chromium Code Reviews
DescriptionDo not crash when measuring empty SVG text nodes
A regression was introduced by [1] where the loop in
SVGTextMetricsBuilder::measureTextLayoutObject would no longer check
if there was any text before attempting to measure the text. This patch
adds the trivial empty text check and adds a new test for this edgecase.
[1] https://chromium.googlesource.com/chromium/src/+/304ec1544273ed8d62c693da6dd2c63727805cdd
BUG=596148, 589525
Committed: https://crrev.com/8e375826a04e52a50c4656f64eaa29c7fb05927c
Cr-Commit-Position: refs/heads/master@{#382170}
Patch Set 1 #
Messages
Total messages: 13 (5 generated)
|
||||||||||||||||||||||||||||