overview: Bail from GetSplitviewBoundsMaintainingAspectRatio in clamshell
The functionality of GetSplitviewBoundsMaintainingAspectRatio is only intended for tablet mode, but before the present CL, it also operates in clamshell mode. Like almost all code that is specific to tablet mode, it assumes that there is only one root window (see the header comment on SplitViewController::Get). This assumption causes blatantly broken behavior in clamshell mode. Fixed: 1035186 Change-Id: Ic7f97aaa1a13973e7c3b7bfbee22b41f14597acb Bug: 1035186 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1978840 Commit-Queue: Avery Musbach <amusbach@chromium.org> Reviewed-by:Xiaoqian Dai <xdai@chromium.org> Cr-Commit-Position: refs/heads/master@{#726970}
Showing
Please register or sign in to comment