commit | 1a63c613ead0abcbecc208a88a88513628835d5f | [log] [tgz] |
---|---|---|
author | Ben Kwa <kenobi@google.com> | Wed Mar 16 13:01:20 2016 -0700 |
committer | Ben Kwa <kenobi@google.com> | Wed Mar 16 15:50:58 2016 -0700 |
tree | b41c25794de2969eb9484b720044ad5972661f4b | |
parent | ec09996b595a2092c92ac3bf4572d64ca698bbab [diff] |
DocsUI: Don't crash on invalid window sizes. Our layout code asserts when passed an (invalid) width of 0. The assert is unnecessary as we already handle this situation by always laying out the content pane with a column count of at least 1. Also, per Steve, bump the minimum column count in grid mode to 2. BUG=27150284 Change-Id: I8aa87beaaf4907ef5248999d0c590deef732589f