Description[FastTextAutosizer] Do not inflate blocks with no children
This patch fixes a crash on empty documents where a cluster would not
get created and we would crash during inflation. I've changed
beginLayout to only call inflate when a block has children, and
refactored endLayout similarly.
BUG=348458
NOTRY=true
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168352
Patch Set 1 #
Messages
Total messages: 10 (0 generated)
|