Index: content/browser/download/download_resource_handler.cc |
diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc |
index 4403ec1324283c0ebafee60dea1faebd433ba094..4aca33f89eccf2d8ce71be8188ce10c9ca489d5b 100644 |
--- a/content/browser/download/download_resource_handler.cc |
+++ b/content/browser/download/download_resource_handler.cc |
@@ -250,6 +250,10 @@ bool DownloadResourceHandler::OnResponseCompleted( |
int request_id, |
const net::URLRequestStatus& status, |
const std::string& security_info) { |
+ VLOG(20) << __FUNCTION__ << "()" << DebugString() |
+ << " request_id = " << request_id |
+ << " status.status() = " << status.status() |
+ << " status.error() = " << status.error(); |
if (download_id_.IsValid()) { |
OnResponseCompletedInternal(request_id, status, security_info); |
} else { |
@@ -268,7 +272,8 @@ void DownloadResourceHandler::OnResponseCompletedInternal( |
int request_id, |
const net::URLRequestStatus& status, |
const std::string& security_info) { |
- VLOG(20) << __FUNCTION__ << "()" << DebugString() |
+ // NOTE: |request_| may be a dangling pointer at this point. |
+ VLOG(20) << __FUNCTION__ << "()" |
<< " request_id = " << request_id |
<< " status.status() = " << status.status() |
<< " status.error() = " << status.error(); |