-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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}
- Loading branch information
Dana Fried
authored and
Commit Bot
committed
Nov 2, 2019
1 parent
34ae61a
commit 9932d10
Showing
7 changed files
with
13 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters