Ensure WebView plugins run their lifecycle even absent main frame Layout
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}
Showing
Please register or sign in to comment