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

Unified Diff: chrome/browser/download/drag_download_file.cc

Issue 6131009: Fix bug 69468: Drag download does not work if there is URL redirection involv... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
Index: chrome/browser/download/drag_download_file.cc
===================================================================
--- chrome/browser/download/drag_download_file.cc (revision 71082)
+++ chrome/browser/download/drag_download_file.cc (working copy)
@@ -155,7 +155,7 @@
download_manager_->GetTemporaryDownloads(file_path_.DirName(), &downloads);
for (std::vector<DownloadItem*>::const_iterator i = downloads.begin();
i != downloads.end(); ++i) {
- if (!download_item_observer_added_ && (*i)->url() == url_) {
+ if (!download_item_observer_added_ && (*i)->original_url() == url_) {
download_item_observer_added_ = true;
(*i)->AddObserver(this);
}

Powered by Google App Engine
This is Rietveld 408576698