diff options
Diffstat (limited to 'net/url_request/url_request_ftp_job.cc')
-rw-r--r-- | net/url_request/url_request_ftp_job.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/url_request/url_request_ftp_job.cc b/net/url_request/url_request_ftp_job.cc index 4f677ef..c92ae6c 100644 --- a/net/url_request/url_request_ftp_job.cc +++ b/net/url_request/url_request_ftp_job.cc @@ -257,7 +257,7 @@ void URLRequestFtpJob::OnReadCompleted(int result) { } void URLRequestFtpJob::RestartTransactionWithAuth() { - DCHECK(auth_data_ && auth_data_->state == AUTH_STATE_HAVE_AUTH); + DCHECK(auth_data_.get() && auth_data_->state == AUTH_STATE_HAVE_AUTH); // No matter what, we want to report our status as IO pending since we will // be notifying our consumer asynchronously via OnStartCompleted. @@ -292,7 +292,7 @@ LoadState URLRequestFtpJob::GetLoadState() const { } bool URLRequestFtpJob::NeedsAuth() { - return auth_data_ && auth_data_->state == AUTH_STATE_NEED_AUTH; + return auth_data_.get() && auth_data_->state == AUTH_STATE_NEED_AUTH; } void URLRequestFtpJob::GetAuthChallengeInfo( @@ -379,7 +379,7 @@ bool URLRequestFtpJob::ReadRawData(IOBuffer* buf, void URLRequestFtpJob::HandleAuthNeededResponse() { GURL origin = request_->url().GetOrigin(); - if (auth_data_) { + if (auth_data_.get()) { if (auth_data_->state == AUTH_STATE_CANCELED) { NotifyHeadersComplete(); return; |