Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 2555693005: gpu: Move ShaderDiskCache into //gpu/ipc/host component. (Closed)
Patch Set: tot merge Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/gpu/gpu_process_host.h ('k') | content/browser/gpu/shader_cache_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6ff45f7f28a2c28c0a21bc3dbf02a4695c37442d..0715957ee52fd37244b4f30295061c06817c7e76 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -57,6 +57,7 @@
#include "content/public/common/service_names.mojom.h"
#include "gpu/command_buffer/service/gpu_preferences.h"
#include "gpu/command_buffer/service/gpu_switches.h"
+#include "gpu/ipc/host/shader_disk_cache.h"
#include "gpu/ipc/service/switches.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/message_filter.h"
@@ -1171,7 +1172,7 @@ void GpuProcessHost::LoadedShader(const std::string& key,
void GpuProcessHost::CreateChannelCache(int32_t client_id) {
TRACE_EVENT0("gpu", "GpuProcessHost::CreateChannelCache");
- scoped_refptr<ShaderDiskCache> cache =
+ scoped_refptr<gpu::ShaderDiskCache> cache =
GetShaderCacheFactorySingleton()->Get(client_id);
if (!cache.get())
return;
« no previous file with comments | « content/browser/gpu/gpu_process_host.h ('k') | content/browser/gpu/shader_cache_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698