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

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

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser_context Created 9 years, 5 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
diff --git a/chrome/browser/download/drag_download_file.cc b/chrome/browser/download/drag_download_file.cc
index b29c165d413beb449a66d6c7477823a7c2740437..ab80abec58801170df828502e998df6b4ffcaf44 100644
--- a/chrome/browser/download/drag_download_file.cc
+++ b/chrome/browser/download/drag_download_file.cc
@@ -117,7 +117,7 @@ void DragDownloadFile::InitiateDownload() {
}
#endif
- download_manager_ = tab_contents_->profile()->GetDownloadManager();
+ download_manager_ = tab_contents_->browser_context()->GetDownloadManager();
download_manager_observer_added_ = true;
download_manager_->AddObserver(this);

Powered by Google App Engine
This is Rietveld 408576698