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

Unified Diff: content/browser/gpu/shader_cache_factory.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/shader_cache_factory.h ('k') | content/browser/gpu/shader_disk_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/shader_cache_factory.cc
diff --git a/content/browser/gpu/shader_cache_factory.cc b/content/browser/gpu/shader_cache_factory.cc
index b6f9f496314a9896f1731192d2f9a0f674b55ee4..e60323de130d0dbce4cf1468e74373614322e994 100644
--- a/content/browser/gpu/shader_cache_factory.cc
+++ b/content/browser/gpu/shader_cache_factory.cc
@@ -5,18 +5,18 @@
#include "content/browser/gpu/shader_cache_factory.h"
#include "base/single_thread_task_runner.h"
-#include "content/browser/gpu/shader_disk_cache.h"
+#include "gpu/ipc/host/shader_disk_cache.h"
namespace content {
namespace {
-ShaderCacheFactory* factory_instance = nullptr;
+gpu::ShaderCacheFactory* factory_instance = nullptr;
void CreateFactoryInstance(
scoped_refptr<base::SingleThreadTaskRunner> cache_task_runner) {
DCHECK(!factory_instance);
- factory_instance = new ShaderCacheFactory(std::move(cache_task_runner));
+ factory_instance = new gpu::ShaderCacheFactory(std::move(cache_task_runner));
}
} // namespace
@@ -32,7 +32,7 @@ void InitShaderCacheFactorySingleton(
}
}
-ShaderCacheFactory* GetShaderCacheFactorySingleton() {
+gpu::ShaderCacheFactory* GetShaderCacheFactorySingleton() {
DCHECK(!factory_instance || factory_instance->CalledOnValidThread());
return factory_instance;
}
« no previous file with comments | « content/browser/gpu/shader_cache_factory.h ('k') | content/browser/gpu/shader_disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698