mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Frame identifiers have changed from int64_t to string type. This is due to https://crbug.com/1502660 which removes access to frame routing IDs in the renderer process. New cross-process frame identifiers are 160-bit values (32-bit child process ID + 128-bit local frame token) and most easily represented as strings. All other frame-related expectations and behaviors remain the same.
15 lines
894 B
Diff
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 b656054d342f5..7889656173b0e 100644
|
|
--- content/browser/renderer_host/render_process_host_impl.cc
|
|
+++ content/browser/renderer_host/render_process_host_impl.cc
|
|
@@ -1629,7 +1629,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(
|