| Index: chrome/browser/ui/webui/downloads_ui.cc
|
| diff --git a/chrome/browser/ui/webui/downloads_ui.cc b/chrome/browser/ui/webui/downloads_ui.cc
|
| index e614af8d81aa585bedb39212e2be44ddc208c0fc..53fa447e4dd93e9586235867eb45ae6d198a5714 100644
|
| --- a/chrome/browser/ui/webui/downloads_ui.cc
|
| +++ b/chrome/browser/ui/webui/downloads_ui.cc
|
| @@ -95,8 +95,7 @@ DownloadsUI::DownloadsUI(content::WebUI* web_ui) : WebUIController(web_ui) {
|
| web_ui->AddMessageHandler(handler);
|
|
|
| // Set up the chrome://downloads/ source.
|
| - profile->GetChromeURLDataManager()->AddDataSource(
|
| - CreateDownloadsUIHTMLSource());
|
| + ChromeURLDataManager::AddDataSource(profile, CreateDownloadsUIHTMLSource());
|
| }
|
|
|
| // static
|
|
|