| Index: webkit/appcache/appcache_update_job.cc
|
| diff --git a/webkit/appcache/appcache_update_job.cc b/webkit/appcache/appcache_update_job.cc
|
| index 02fc15be6a290bc4510bd9eacbe02a05cb447496..29e3b1a44e63e12bb7f4cfc6b2b356c4faf5a4a3 100644
|
| --- a/webkit/appcache/appcache_update_job.cc
|
| +++ b/webkit/appcache/appcache_update_job.cc
|
| @@ -98,14 +98,15 @@ AppCacheUpdateJob::URLFetcher::URLFetcher(
|
| retry_503_attempts_(0),
|
| buffer_(new net::IOBuffer(kBufferSize)),
|
| ALLOW_THIS_IN_INITIALIZER_LIST(
|
| - request_(new net::URLRequest(url, this))) {
|
| + request_(new net::URLRequest(url,
|
| + this,
|
| + job->service_->request_context()))) {
|
| }
|
|
|
| AppCacheUpdateJob::URLFetcher::~URLFetcher() {
|
| }
|
|
|
| void AppCacheUpdateJob::URLFetcher::Start() {
|
| - request_->set_context(job_->service_->request_context());
|
| request_->set_first_party_for_cookies(job_->manifest_url_);
|
| request_->set_load_flags(request_->load_flags() |
|
| net::LOAD_DISABLE_INTERCEPT);
|
| @@ -287,7 +288,9 @@ bool AppCacheUpdateJob::URLFetcher::MaybeRetryRequest() {
|
| return false;
|
| }
|
| ++retry_503_attempts_;
|
| - request_.reset(new net::URLRequest(url_, this));
|
| + request_.reset(new net::URLRequest(url_,
|
| + this,
|
| + job_->service_->request_context()));
|
| Start();
|
| return true;
|
| }
|
|
|