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

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

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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
Index: content/browser/gpu/shader_disk_cache.cc
diff --git a/content/browser/gpu/shader_disk_cache.cc b/content/browser/gpu/shader_disk_cache.cc
index e31af9202278d7b0e6d52634c73d1fad722ca216..f75fe838808271f2a21c81f0e17d18268a0e09a6 100644
--- a/content/browser/gpu/shader_disk_cache.cc
+++ b/content/browser/gpu/shader_disk_cache.cc
@@ -532,15 +532,11 @@ void ShaderDiskCache::Init() {
is_initialized_ = true;
int rv = disk_cache::CreateCacheBackend(
- net::SHADER_CACHE,
- net::CACHE_BACKEND_DEFAULT,
+ net::SHADER_CACHE, net::CACHE_BACKEND_DEFAULT,
cache_path_.Append(kGpuCachePath),
- gpu::kDefaultMaxProgramCacheMemoryBytes,
- true,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE).get(),
- NULL,
- &backend_,
- base::Bind(&ShaderDiskCache::CacheCreatedCallback, this));
+ gpu::kDefaultMaxProgramCacheMemoryBytes, true,
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::CACHE).get(), NULL,
+ &backend_, base::Bind(&ShaderDiskCache::CacheCreatedCallback, this));
if (rv == net::OK)
cache_available_ = true;
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/browser/indexed_db/indexed_db_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698