Desks: Don't restore unsnappable windows in splitview when switching desks
On switching to a different desk, we attempt restoring snapped windows into splitview. But while being on another desk, orientation may change in such a way that makes the snapped windows unsnappable in splitview. Snapping those back when we attempt restoring splitview would hit a DCHECK. This CL fixes this issue. BUG=1010115 TEST=Added new test that crashes without the fix. Change-Id: I41c4b47a78fc2fbb0ebd52cd139bf56881569e5f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1834901 Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Reviewed-by:Xiaoqian Dai <xdai@chromium.org> Cr-Commit-Position: refs/heads/master@{#702460}
Showing
Please register or sign in to comment