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

Unified Diff: chrome/browser/ui/gtk/custom_drag.cc

Issue 8503018: Split DownloadItem into an ABC, an Impl, and a Mock. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merge Created 9 years, 1 month 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
Index: chrome/browser/ui/gtk/custom_drag.cc
diff --git a/chrome/browser/ui/gtk/custom_drag.cc b/chrome/browser/ui/gtk/custom_drag.cc
index 268be416fa945f46760161e8d0c8e84485631f1a..b9edaead7cf976f93b3bd283ff6b937f97b233ee 100644
--- a/chrome/browser/ui/gtk/custom_drag.cc
+++ b/chrome/browser/ui/gtk/custom_drag.cc
@@ -24,7 +24,7 @@ const GdkDragAction kBookmarkDragAction =
void OnDragDataGetForDownloadItem(GtkSelectionData* selection_data,
guint target_type,
const DownloadItem* download_item) {
- GURL url = net::FilePathToFileURL(download_item->full_path());
+ GURL url = net::FilePathToFileURL(download_item->GetFullPath());
ui::WriteURLWithName(selection_data, url,
UTF8ToUTF16(download_item->GetFileNameToReportUser().value()),
target_type);
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_util_mac.mm ('k') | chrome/browser/ui/gtk/download/download_item_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698