summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background/background_contents_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/background/background_contents_service.cc')
-rw-r--r--chrome/browser/background/background_contents_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
index baee3e3..9113a3b 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -517,7 +517,7 @@ void BackgroundContentsService::LoadBackgroundContentsFromManifests(
extension_service()->extensions();
ExtensionSet::const_iterator iter = extensions->begin();
for (; iter != extensions->end(); ++iter) {
- const Extension* extension = *iter;
+ const Extension* extension = iter->get();
if (extension->is_hosted_app() &&
BackgroundInfo::HasBackgroundPage(extension)) {
LoadBackgroundContents(profile,