BackForwardCache: Reset recorded metrics at navigations correctly
Before this CL, |BackForwardCacheMetrics:: browsing_instance_not_swapped_reason_| is not reset at navigation and might be recorded in non-related navigations unexpectedly. This CL fixes this by resetting it every navigation. Bug: 1134847 Change-Id: Ib9e00f6937c5425c82cd2e40bdb47cb1fb740d38 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2501546Reviewed-by:Alexander Timin <altimin@chromium.org> Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Cr-Commit-Position: refs/heads/master@{#822154}
Showing
Please register or sign in to comment