Description[Win] Update HWND max size if either width or height is set.
gfx::Size::IsEmpty() is equivalent to
(width() == 0 || height() == 0), so the max size is not
correctly set when only one dimension is provided.
BUG=0
Committed: https://crrev.com/1a13cda009929d61b4cc859ddb4f510307b7cad6
Cr-Commit-Position: refs/heads/master@{#299625}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address comments #Messages
Total messages: 8 (2 generated)
|