Index: content/browser/gpu/gpu_process_host.cc |
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc |
index 323335e654ed2bd1508b444a7b9e3b01cd0ded38..078b8a2fc03998e04d9269609c8a5396e0a2ea98 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); |