vk: Fix wrong occluded rect sent to observers
In KeyboardController::NotifyKeyboardBoundsChanging, when keyboard window is null or invisible, |visual_bounds_in_root_| is reset and it changes the return value of GetWorkspaceOccludedBoundsInScreen. However we still use the old value returned by GetWorkspaceOccluded- BoundsInScreen before condition block as parameter. This CL fixes this issue. Bug: 960174 Change-Id: Iee95babce7a01328d90a1065b2da8f171ff7d844 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618181 Commit-Queue: Andrew Xu <andrewxu@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#661011}
Showing
Please register or sign in to comment