Index: content/shell/shell_url_request_context_getter.cc |
diff --git a/content/shell/shell_url_request_context_getter.cc b/content/shell/shell_url_request_context_getter.cc |
index dd74b9fa47ade562f442cf4a05c2d27f7e0c6b0e..969ba3d1e2c141e61bb7ebbcb76e5bb24aaa7286 100644 |
--- a/content/shell/shell_url_request_context_getter.cc |
+++ b/content/shell/shell_url_request_context_getter.cc |
@@ -9,6 +9,7 @@ |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_split.h" |
#include "base/strings/string_util.h" |
+#include "base/threading/sequenced_worker_pool.h" |
#include "base/threading/worker_pool.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/common/content_switches.h" |
@@ -207,7 +208,10 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() { |
DCHECK(set_protocol); |
set_protocol = job_factory->SetProtocolHandler( |
chrome::kFileScheme, |
- new net::FileProtocolHandler); |
+ new net::FileProtocolHandler( |
+ content::BrowserThread::GetBlockingPool()-> |
+ GetTaskRunnerWithShutdownBehavior( |
+ base::SequencedWorkerPool::SKIP_ON_SHUTDOWN))); |
DCHECK(set_protocol); |
storage_->set_job_factory(job_factory.release()); |
} |