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

Unified Diff: content/browser/cache_storage/cache_storage_context_impl.cc

Issue 1567983003: call static SequencedWorkerPool::GetSequenceToken() method directly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drop WARN_UNUSED_RESULT change and call static method directly Created 4 years, 11 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/cache_storage/cache_storage_context_impl.cc
diff --git a/content/browser/cache_storage/cache_storage_context_impl.cc b/content/browser/cache_storage/cache_storage_context_impl.cc
index 29bb50ccb4c7a0d5805777203b42acbeaa77ebf0..83aa12d6cdc9d8f28e317c5f3733191be975b279 100644
--- a/content/browser/cache_storage/cache_storage_context_impl.cc
+++ b/content/browser/cache_storage/cache_storage_context_impl.cc
@@ -36,7 +36,7 @@ void CacheStorageContextImpl::Init(
base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool();
scoped_refptr<base::SequencedTaskRunner> cache_task_runner =
pool->GetSequencedTaskRunnerWithShutdownBehavior(
- BrowserThread::GetBlockingPool()->GetSequenceToken(),
+ base::SequencedWorkerPool::GetSequenceToken(),
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN);
// This thread-hopping antipattern is needed here for some unit tests, where
« no previous file with comments | « components/crash/content/browser/crash_handler_host_linux.cc ('k') | content/browser/net/quota_policy_cookie_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698