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

Unified Diff: components/crash/content/browser/crash_handler_host_linux.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
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_context_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/content/browser/crash_handler_host_linux.cc
diff --git a/components/crash/content/browser/crash_handler_host_linux.cc b/components/crash/content/browser/crash_handler_host_linux.cc
index ec4ae2fb643a1f78896339cd8ffc05b23359edd5..b97b92cad7b16f948ea90568f741a5d03f890d20 100644
--- a/components/crash/content/browser/crash_handler_host_linux.cc
+++ b/components/crash/content/browser/crash_handler_host_linux.cc
@@ -91,7 +91,7 @@ CrashHandlerHostLinux::CrashHandlerHostLinux(const std::string& process_type,
dumps_path_(dumps_path),
upload_(upload),
shutting_down_(false),
- worker_pool_token_(BrowserThread::GetBlockingPool()->GetSequenceToken()) {
+ worker_pool_token_(base::SequencedWorkerPool::GetSequenceToken()) {
int fds[2];
// We use SOCK_SEQPACKET rather than SOCK_DGRAM to prevent the process from
// sending datagrams to other sockets on the system. The sandbox may prevent
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698