| Index: chrome/browser/background_page_tracker.cc
|
| diff --git a/chrome/browser/background_page_tracker.cc b/chrome/browser/background_page_tracker.cc
|
| index 5a41c8d2ee293582dc3dd46b7c4fad89c54167e7..de6c04d175e3f5e4a108d1cf8cb9e6d90c3e4b31 100644
|
| --- a/chrome/browser/background_page_tracker.cc
|
| +++ b/chrome/browser/background_page_tracker.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/values.h"
|
| #include "chrome/browser/background_application_list_model.h"
|
| #include "chrome/browser/background_contents_service.h"
|
| +#include "chrome/browser/background_contents_service_factory.h"
|
| #include "chrome/browser/background_mode_manager.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| @@ -233,7 +234,7 @@ bool BackgroundPageTracker::UpdateExtensionList() {
|
|
|
| // Add all apps with background contents also.
|
| BackgroundContentsService* background_contents_service =
|
| - profile->GetBackgroundContentsService();
|
| + BackgroundContentsServiceFactory::GetForProfile(profile);
|
| std::vector<BackgroundContents*> background_contents =
|
| background_contents_service->GetBackgroundContents();
|
| for (std::vector<BackgroundContents*>::const_iterator iter =
|
|
|