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 e0feaf5100c4fba1a005d39507be4a92ae5b2351..51a5742d921cf3b61a72cac723c07b82f44eae63 100644 |
--- a/content/browser/download/download_resource_handler.cc |
+++ b/content/browser/download/download_resource_handler.cc |
@@ -149,7 +149,7 @@ bool DownloadResourceHandler::OnResponseStarted( |
// Deleted in DownloadManager. |
scoped_ptr<DownloadCreateInfo> info(new DownloadCreateInfo( |
base::Time::Now(), 0, content_length_, DownloadItem::IN_PROGRESS, |
- request_->net_log(), request_info->has_user_gesture(), |
+ request_->net_log(), request_info->HasUserGesture(), |
request_info->transition_type())); |
// Create the ByteStream for sending data to the download sink. |
@@ -167,7 +167,7 @@ bool DownloadResourceHandler::OnResponseStarted( |
info->received_bytes = save_info_.offset; |
info->total_bytes = content_length_; |
info->state = DownloadItem::IN_PROGRESS; |
- info->has_user_gesture = request_info->has_user_gesture(); |
+ info->has_user_gesture = request_info->HasUserGesture(); |
info->content_disposition = content_disposition_; |
info->mime_type = response->mime_type; |
info->remote_address = request_->GetSocketAddress().host(); |