diff options
Diffstat (limited to 'content/browser/gpu/gpu_process_host.cc')
-rw-r--r-- | content/browser/gpu/gpu_process_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc index 323335e..078b8a2 100644 --- a/content/browser/gpu/gpu_process_host.cc +++ b/content/browser/gpu/gpu_process_host.cc @@ -1254,7 +1254,7 @@ void GpuProcessHost::CreateChannelCache(int32 client_id, size_t cache_size) { scoped_refptr<ShaderDiskCache> cache = ShaderCacheFactory::GetInstance()->Get(client_id); - if (!cache) + if (!cache.get()) return; cache->set_max_cache_size(cache_size); |