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 790ea6930006ecb347f1279e9400198d4120a49b..2e4f6f0ea5599a8ac8f061353e46e641b9d630bd 100644 |
--- a/content/browser/download/download_resource_handler.cc |
+++ b/content/browser/download/download_resource_handler.cc |
@@ -144,7 +144,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. |
@@ -162,7 +162,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(); |