DescriptionFix crash in taking a screenshot of a closed popup
You can't assume that there's a root layer always during layout, even if
there's a composite and readback. WebTestProxyBase::CapturePixelsAsync
iterates through popups (which may get closed between that call and
Layout). If it's closed, then its root layer goes away.
BUG=470817
Committed: https://crrev.com/cf337a958289161fa9106a51ff5acd19468bcda3
Cr-Commit-Position: refs/heads/master@{#322611}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add brackets; improve comments #Messages
Total messages: 9 (3 generated)
|