• Dana Fried's avatar
    Layout invalidates when child view's visibility changes. · 9932d106
    Dana Fried authored
    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: default avatarSiyu An <siyua@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#711966}
    9932d106
layout_manager.cc 2.07 KB