[bfcache] Add is_in_back_forward_cache_ bit in SWPH
This CL adds is_in_back_forward_cache_ bit in ServiceWorkerProviderHost instead of each time referring to RenderFrameHost's is_in_back_forward_cache(). Currently, SWPH and RFH have different lifetime and that is why this bit should be kept in SWPH. Once SWPH and RFH have the same lifetime, this bit will not be needed any more. Change-Id: Ie6dfb3608577f663cb37770e4b77166c8fca7e58 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1909059Reviewed-by:Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Commit-Queue: Yuzu Saijo <yuzus@chromium.org> Cr-Commit-Position: refs/heads/master@{#715205}
Showing
Please register or sign in to comment