Fix AllowSignedExchange crashing when closing incognito window
The PrefetchURLLoader's lifetime is managed using mojo::MakeStrongBinding, which means it may live until after the BrowserContext is destroyed. Instead of keeping the browser context around to check if signed exchange is allowed, we check in the constructor and cache the value. Bug: 1016373 Change-Id: Ia6722ed37a8213078be856b11b9dde70ef230e8d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881379 Commit-Queue: Clark DuVall <cduvall@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#709973}
Showing
Please register or sign in to comment