| Index: chrome/browser/ui/panels/panel_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/ui/panels/panel_browsertest.cc (revision 140592)
|
| +++ chrome/browser/ui/panels/panel_browsertest.cc (working copy)
|
| @@ -39,6 +39,7 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "ui/gfx/screen.h"
|
|
|
| +using content::BrowserContext;
|
| using content::BrowserThread;
|
| using content::DownloadItem;
|
| using content::DownloadManager;
|
| @@ -1607,7 +1608,7 @@
|
| public:
|
| explicit DownloadObserver(Profile* profile)
|
| : download_manager_(
|
| - DownloadServiceFactory::GetForProfile(profile)->GetDownloadManager()),
|
| + BrowserContext::GetDownloadManager(profile)),
|
| saw_download_(false),
|
| waiting_(false) {
|
| download_manager_->AddObserver(this);
|
|
|