Files
cef/patch/patches/services_network_2718.patch
T
Marshall Greenblatt 33624e6bc2 Update to Chromium version 154.0.8037.0
- Windows SDK 10.0.28000.2270 is now required
- CefRegisterExtension is deprecated due to https://crbug.com/40347662
2026-09-06 13:10:22 -04:00

20 lines
1.1 KiB
Diff

diff --git content/browser/storage_partition_impl.cc content/browser/storage_partition_impl.cc
index 8465fb9272061262157e88c96f0cfadaad98f2ad..fe6164c67d50e79a5cff22db028f0610e240c5ec 100644
--- content/browser/storage_partition_impl.cc
+++ content/browser/storage_partition_impl.cc
@@ -3483,9 +3483,12 @@ void StoragePartitionImpl::InitNetworkContext() {
cert_verifier::mojom::CertVerifierCreationParamsPtr
cert_verifier_creation_params =
cert_verifier::mojom::CertVerifierCreationParams::New();
- GetContentClient()->browser()->ConfigureNetworkContextParams(
+ if (!GetContentClient()->browser()->ConfigureNetworkContextParams(
browser_context_, is_in_memory(), relative_partition_path_,
- context_params.get(), cert_verifier_creation_params.get());
+ context_params.get(), cert_verifier_creation_params.get())) {
+ // Don't re-initialize the network context during shutdown.
+ return;
+ }
// Should be initialized with existing per-profile CORS access lists.
DCHECK(context_params->cors_origin_access_list.empty())
<< "NetworkContextParams::cors_origin_access_list should be populated "