chromeos: make app-list not layout search-box when closed
As part of https://chromium-review.googlesource.com/c/chromium/src/+/1547051 InvalidateLayout() was changed to result in a Layout() at a later date. This means there may be an additional Layout() called. In particular, the app-list now attempts to layout the search-box when closed, which triggers the search-box to go off screen. The fix is to not layout the search box if closed. BUG=949368 TEST=see bug Change-Id: I810ba64a0d44cfedb4f1746697c78b74a303526d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1559887Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#649271}
Showing
Please register or sign in to comment