Index: chrome/browser/extensions/extension_resource_protocols.cc |
diff --git a/chrome/browser/extensions/extension_resource_protocols.cc b/chrome/browser/extensions/extension_resource_protocols.cc |
index 565b08b9ece737cb5cef89fc10f58dc6cc1fa966..eb75df96dda0c696fa7db2fd98711681b9cbd4f5 100644 |
--- a/chrome/browser/extensions/extension_resource_protocols.cc |
+++ b/chrome/browser/extensions/extension_resource_protocols.cc |
@@ -7,6 +7,7 @@ |
#include "base/files/file_path.h" |
#include "base/memory/weak_ptr.h" |
#include "base/path_service.h" |
+#include "base/threading/sequenced_worker_pool.h" |
#include "base/threading/thread_checker.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/extensions/extension_file_util.h" |
@@ -25,9 +26,12 @@ class ExtensionResourcesJob : public net::URLRequestFileJob { |
public: |
ExtensionResourcesJob(net::URLRequest* request, |
net::NetworkDelegate* network_delegate) |
- : net::URLRequestFileJob(request, network_delegate, base::FilePath()), |
- weak_ptr_factory_(this) { |
- } |
+ : net::URLRequestFileJob( |
+ request, network_delegate, base::FilePath(), |
+ content::BrowserThread::GetBlockingPool()-> |
+ GetTaskRunnerWithShutdownBehavior( |
+ base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)), |
+ weak_ptr_factory_(this) {} |
virtual void Start() OVERRIDE; |