| Index: chrome/browser/automation/automation_provider.cc
|
| diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
|
| index c032eb551c95db641dc6328da4d0d03a189ec693..2e426ae0609d1fa958262022d1a23d6277234e65 100644
|
| --- a/chrome/browser/automation/automation_provider.cc
|
| +++ b/chrome/browser/automation/automation_provider.cc
|
| @@ -252,7 +252,7 @@ DictionaryValue* AutomationProvider::GetDictionaryFromDownloadItem(
|
|
|
| DictionaryValue* dl_item_value = new DictionaryValue;
|
| dl_item_value->SetInteger("id", static_cast<int>(download->id()));
|
| - dl_item_value->SetString("url", download->url().spec());
|
| + dl_item_value->SetString("url", download->GetURL().spec());
|
| dl_item_value->SetString("referrer_url", download->referrer_url().spec());
|
| dl_item_value->SetString("file_name",
|
| download->GetFileNameToReportUser().value());
|
|
|