[bfcache] Don't immediately flush pages with related SiteInstances.
Rather than synchronously deleting all pages in the BackForwardCache when there is a conflicting BrowsingInstance, call EvictFramesInBrowsingInstance which asynchronously deletes only the conflicting pages. Calling evict is safer than immediately deleting frames, which can lead to UAF bugs. Change-Id: I4e453c3c1dacc5ed764cc344efbc26f24d7fe115 Bug: 993337 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1844964 Commit-Queue: Lowell Manners <lowell@chromium.org> Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Reviewed-by:
Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/heads/master@{#707310}
Showing
This diff is collapsed.
Please register or sign in to comment