DescriptionLet floats to use all available size if opportunity is infinite
Because of the implementation specific of the layout opportunity iterator
an empty opportunity can mean 2 things:
- search for layout opportunities is exhausted.
- opportunity has an infinite size. That's because CS is infinite.
This patch fixes DCHECK crashes when we return an infinite opportunity.
BUG=635619
Review-Url: https://codereview.chromium.org/2801053004
Cr-Commit-Position: refs/heads/master@{#462969}
Committed: https://chromium.googlesource.com/chromium/src/+/958c1c976cd22ec4ed8e5695351ea3868b096961
Patch Set 1 #
Messages
Total messages: 15 (10 generated)
|