| Index: chrome/browser/background/background_contents_service.cc
|
| diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
|
| index 4579cbdbaf5272b8f3101f20b655f6ab82d13270..79ba668f1d45523b4fd388f1c7c05fbae7acdac7 100644
|
| --- a/chrome/browser/background/background_contents_service.cc
|
| +++ b/chrome/browser/background/background_contents_service.cc
|
| @@ -585,10 +585,11 @@ void BackgroundContentsService::LoadBackgroundContentsFromDictionary(
|
|
|
| void BackgroundContentsService::LoadBackgroundContentsFromManifests(
|
| Profile* profile) {
|
| - const ExtensionSet* extensions = extensions::ExtensionSystem::Get(profile)->
|
| - extension_service()->extensions();
|
| - ExtensionSet::const_iterator iter = extensions->begin();
|
| - for (; iter != extensions->end(); ++iter) {
|
| + const extensions::ExtensionSet* extensions =
|
| + extensions::ExtensionSystem::Get(profile)->
|
| + extension_service()->extensions();
|
| + for (extensions::ExtensionSet::const_iterator iter = extensions->begin();
|
| + iter != extensions->end(); ++iter) {
|
| const Extension* extension = iter->get();
|
| if (extension->is_hosted_app() &&
|
| BackgroundInfo::HasBackgroundPage(extension)) {
|
|
|