cef/patch/patches/content_renderer_host_3617.patch
Marshall Greenblatt d4cf19db29 Update to Chromium version 123.0.6312.0 (#1262506)
- MacOS ARM64 Official builds are currently failing due to
  https://issues.chromium.org/issues/326898585
2024-02-26 12:08:55 -05:00

15 lines
894 B
Diff

diff --git content/browser/renderer_host/render_process_host_impl.cc content/browser/renderer_host/render_process_host_impl.cc
index fd63bad192e9b..262a286478b67 100644
--- content/browser/renderer_host/render_process_host_impl.cc
+++ content/browser/renderer_host/render_process_host_impl.cc
@@ -1623,7 +1623,8 @@ bool RenderProcessHostImpl::Init() {
// initialized because in tests the factory may never have been initialized.
if (!GetBrowserContext()->IsOffTheRecord() &&
!base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableGpuShaderDiskCache)) {
+ switches::kDisableGpuShaderDiskCache) &&
+ !storage_partition_impl_->GetPath().empty()) {
if (auto* cache_factory = GetGpuDiskCacheFactorySingleton()) {
for (const gpu::GpuDiskCacheType type : gpu::kGpuDiskCacheTypes) {
auto handle = cache_factory->GetCacheHandle(