| Index: chrome/browser/ui/webui/active_downloads_ui.cc
|
| diff --git a/chrome/browser/ui/webui/active_downloads_ui.cc b/chrome/browser/ui/webui/active_downloads_ui.cc
|
| index 816d323d699aa8d9cee71ef9d463505f568a05ca..3579d93626d129d2ca6a126f104ab03e872a507f 100644
|
| --- a/chrome/browser/ui/webui/active_downloads_ui.cc
|
| +++ b/chrome/browser/ui/webui/active_downloads_ui.cc
|
| @@ -210,7 +210,7 @@ ActiveDownloadsHandler::~ActiveDownloadsHandler() {
|
| }
|
|
|
| WebUIMessageHandler* ActiveDownloadsHandler::Attach(WebUI* web_ui) {
|
| - profile_ = web_ui->GetProfile();
|
| + profile_ = Profile::FromWebUI(web_ui);
|
| profile_->GetChromeURLDataManager()->AddDataSource(new FileIconSourceCros());
|
| tab_contents_ = web_ui->tab_contents();
|
| return WebUIMessageHandler::Attach(web_ui);
|
|
|