Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2284)

Unified Diff: chrome/browser/background/background_contents_service.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6accc455086257e24cbb7fce921d787555070a05..58c2a4e5941ee50893e1ab969638fb9aaece3f4b 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -452,7 +452,7 @@ void BackgroundContentsService::LoadBackgroundContentsFromManifests(
profile->GetExtensionService()->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() && extension->has_background_page()) {
LoadBackgroundContents(profile,
extension->GetBackgroundURL(),
« no previous file with comments | « chrome/browser/automation/automation_provider_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_index_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698