| Index: chrome/browser/task_manager/task_manager_browsertest.cc
|
| diff --git a/chrome/browser/task_manager/task_manager_browsertest.cc b/chrome/browser/task_manager/task_manager_browsertest.cc
|
| index d5854b9b6dddab2efb6f3b8c62ededdfae50b9c0..6d68ac7e43be79c43fcf33074eaa9cfff6a4451a 100644
|
| --- a/chrome/browser/task_manager/task_manager_browsertest.cc
|
| +++ b/chrome/browser/task_manager/task_manager_browsertest.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/file_path.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/background_contents_service.h"
|
| +#include "chrome/browser/background_contents_service_factory.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/extensions/extension_browsertest.h"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| @@ -159,7 +160,7 @@ IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, NoticeBGContentsChanges) {
|
| FilePath(kTitle1File)));
|
|
|
| BackgroundContentsService* service =
|
| - browser()->profile()->GetBackgroundContentsService();
|
| + BackgroundContentsServiceFactory::GetForProfile(browser()->profile());
|
| string16 application_id(ASCIIToUTF16("test_app_id"));
|
| service->LoadBackgroundContents(browser()->profile(),
|
| url,
|
| @@ -187,7 +188,7 @@ IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, KillBGContents) {
|
| FilePath(kTitle1File)));
|
|
|
| BackgroundContentsService* service =
|
| - browser()->profile()->GetBackgroundContentsService();
|
| + BackgroundContentsServiceFactory::GetForProfile(browser()->profile());
|
| string16 application_id(ASCIIToUTF16("test_app_id"));
|
| service->LoadBackgroundContents(browser()->profile(),
|
| url,
|
|
|