Layout invalidates when child view's visibility changes.
Exactly what it says on the tin. This is a fix for legacy layouts (fill, box, grid) which aren't derived from LayoutManagerBase and which do not benefit from the logic in that class which handles the invalidation. LayoutManagerBase still overrides this logic with something more sophisticated. If in the future a legacy layout overrides ViewVisibilitySet(), it should either call the base implementation or handle the invalidation on its own. Bug: 1003500 Change-Id: I9eccef21784175820816852e1b9c05d0713ef2eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894260 Commit-Queue: Dana Fried <dfried@chromium.org> Reviewed-by:Siyu An <siyua@chromium.org> Cr-Commit-Position: refs/heads/master@{#711966}
Showing
Please register or sign in to comment