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 84ab673c9cd59120e2757d50d579c76167f62092..7cfd7983f0edd04737b0487573a83780d5cef7e6 100644 |
--- a/content/browser/download/download_resource_handler.cc |
+++ b/content/browser/download/download_resource_handler.cc |
@@ -115,7 +115,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())); |
info->url_chain = request_->url_chain(); |
info->referrer_url = GURL(request_->referrer()); |
@@ -123,7 +123,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(); |