Index: chrome/browser/ui/webui/downloads_ui.cc |
=================================================================== |
--- chrome/browser/ui/webui/downloads_ui.cc (revision 117388) |
+++ chrome/browser/ui/webui/downloads_ui.cc (working copy) |
@@ -84,7 +84,7 @@ |
// |
/////////////////////////////////////////////////////////////////////////////// |
-DownloadsUI::DownloadsUI(WebContents* contents) : WebUI(contents) { |
+DownloadsUI::DownloadsUI(WebContents* contents) : WebUI(contents, this) { |
Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); |
DownloadManager* dlm = |
DownloadServiceFactory::GetForProfile(profile)->GetDownloadManager(); |