[bfcache] Always call CanStoreDocument for the main frame
Ensure that we always pass the main document to CanStoreDocument as CanStoreDocument always returns false for non-main documents, which then will lead to eviction even when we still can store the document in the cache. R=arthursonzogni@chromium.org,hajimehoshi@chromium.org Change-Id: I021ef8fa0505c9d8eef0d423cde319439f4c612e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1905688 Commit-Queue: Alexander Timin <altimin@chromium.org> Reviewed-by:Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/heads/master@{#717500}
Showing
Please register or sign in to comment