DescriptionCheck for primaryFont in LayoutTextControl::getAvgCharWidth
Change LayoutTextControl::getAvgCharWidth to check if primaryFont is set
before attempting to access it falling back on measuring the width of 0.
BUG=627818
R=cbiesinger@chromium.org
Committed: https://crrev.com/c37d7c08fe436fe0f53245eff661ada8c420a849
Cr-Commit-Position: refs/heads/master@{#405355}
Patch Set 1 #Patch Set 2 : Rebase w/HEAD #Messages
Total messages: 13 (6 generated)
|