Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(626)

Unified Diff: chrome/browser/automation/automation_provider.cc

Issue 6969009: Reduced the lifetime of DownloadCreateInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Stupid clang! Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698