Index: content/browser/renderer_host/render_message_filter.cc |
diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc |
index f06c33cc9413c9c8c906798220862c07d69a8fcf..96df3730a867c1330cf95ff375dec766726bf4ad 100644 |
--- a/content/browser/renderer_host/render_message_filter.cc |
+++ b/content/browser/renderer_host/render_message_filter.cc |
@@ -589,12 +589,15 @@ void RenderMessageFilter::OnGenerateRoutingID(int* route_id) { |
void RenderMessageFilter::OnDownloadUrl(const IPC::Message& message, |
const GURL& url, |
- const GURL& referrer) { |
+ const GURL& referrer, |
+ const string16& suggested_name) { |
// Don't show "Save As" UI. |
bool prompt_for_save_location = false; |
+ DownloadSaveInfo save_info; |
+ save_info.suggested_name = suggested_name; |
resource_dispatcher_host_->BeginDownload(url, |
referrer, |
- DownloadSaveInfo(), |
+ save_info, |
prompt_for_save_location, |
render_process_id_, |
message.routing_id(), |