| Index: chrome/browser/dom_ui/downloads_ui.cc
|
| ===================================================================
|
| --- chrome/browser/dom_ui/downloads_ui.cc (revision 16871)
|
| +++ chrome/browser/dom_ui/downloads_ui.cc (working copy)
|
| @@ -118,7 +118,8 @@
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| DownloadsUI::DownloadsUI(TabContents* contents) : DOMUI(contents) {
|
| - DownloadManager* dlm = GetProfile()->GetDownloadManager();
|
| + DownloadManager* dlm = GetProfile()->GetOriginalProfile()->
|
| + GetDownloadManager();
|
|
|
| DownloadsDOMHandler* handler = new DownloadsDOMHandler(this, dlm);
|
| AddMessageHandler(handler);
|
|
|