diff --git a/atom/browser/net/atom_url_request.cc b/atom/browser/net/atom_url_request.cc index 6ff799df91b8..0b51135b26fb 100644 --- a/atom/browser/net/atom_url_request.cc +++ b/atom/browser/net/atom_url_request.cc @@ -267,7 +267,8 @@ void AtomURLRequest::DoCancel() { void AtomURLRequest::DoFollowRedirect() { DCHECK_CURRENTLY_ON(content::BrowserThread::IO); if (request_ && request_->is_redirecting() && redirect_policy_ == "manual") { - request_->FollowDeferredRedirect(); + request_->FollowDeferredRedirect( + base::nullopt /* modified_request_headers */); } }