Index: net/url_request/url_request_file_dir_job.cc |
diff --git a/net/url_request/url_request_file_dir_job.cc b/net/url_request/url_request_file_dir_job.cc |
index 0b05cbb9dd5899b3a2187d19efab598ced7a4c73..c6df6127e0feb7f7ebd511d33db0b0f2a2f72a53 100644 |
--- a/net/url_request/url_request_file_dir_job.cc |
+++ b/net/url_request/url_request_file_dir_job.cc |
@@ -16,6 +16,7 @@ |
#include "net/base/net_errors.h" |
#include "net/base/net_util.h" |
#include "net/url_request/url_request.h" |
+#include "net/url_request/url_request_context.h" |
#if defined(OS_POSIX) |
#include <sys/stat.h> |
@@ -25,7 +26,7 @@ namespace net { |
URLRequestFileDirJob::URLRequestFileDirJob(URLRequest* request, |
const FilePath& dir_path) |
- : URLRequestJob(request), |
+ : URLRequestJob(request, request->context()->network_delegate()), |
ALLOW_THIS_IN_INITIALIZER_LIST(lister_(dir_path, this)), |
dir_path_(dir_path), |
canceled_(false), |