• leviw's avatar
    Ensure WebView plugins run their lifecycle even absent main frame Layout · eec0a93f
    leviw authored
    The PluginView method layoutIfNeeded causes WebView plugins to update
    their entire lifecycle, but we only call that if their layout is
    dirtied. In the presence of some style changes, they can need
    invalidation or compositing updates without layout, and our recursive
    lifecycle update missed WebView plugins as it only recurses through
    the Frame tree.
    
    This change always updates child plugins when
    FrameView::updateStyleAndLayoutIfNeededRecursive is called.
    
    BUG=545039
    
    Review URL: https://codereview.chromium.org/1708923002
    
    Cr-Commit-Position: refs/heads/master@{#376114}
    eec0a93f
webview-plugin-updates-without-layout-expected.txt 26 Bytes