ozone/wayland: use 1x1 size for popups when empty bounds are passed
After https://crrev.com/c/2385279 landed, the factory stopped creating WaylandToplevelWindow instead of WaylandPopup for requests that asked for kPopup windows (which is correct). However, some tests may pass bounds with the size parameter set to 0, 0. That resulted in closing of WaylandPopups and tests crashed. Thus, to fix this problem, readjust bounds when shell popup is created. Bug: 1125924 Change-Id: Icd7179e8f5ab1d9c2e96fee3dbb167e67b9e753d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2397695 Commit-Queue: Maksim Sisov (GMT+3) <msisov@igalia.com> Reviewed-by:Nick Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/master@{#804913}
Showing
Please register or sign in to comment