DescriptionOnly use fontMetrics if available in line-height computation
Change ComputedStyle::computedLineHeight to check if primaryFont is non
null before calling fontMetrics().lineSpacing() as metrics requires the
font to have been loaded. This is a speculative fix for a top crasher.
BUG=542338
R=pdr@chromium.org
Committed: https://crrev.com/37e42dda0182625f8bcb7277a5802ca6fbe32890
Cr-Commit-Position: refs/heads/master@{#354686}
Patch Set 1 : #
Messages
Total messages: 13 (4 generated)
|