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

Unified Diff: chrome/browser/background_contents_service_factory.cc

Issue 6879031: Add optional creation to ProfileKeyedServiceFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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_contents_service_factory.cc
diff --git a/chrome/browser/background_contents_service_factory.cc b/chrome/browser/background_contents_service_factory.cc
index c30223b6db606c88e20557b27d0afe78528c4b8f..51712011045060b2d2e3df72105e0c18d24e50f4 100644
--- a/chrome/browser/background_contents_service_factory.cc
+++ b/chrome/browser/background_contents_service_factory.cc
@@ -13,7 +13,7 @@
BackgroundContentsService* BackgroundContentsServiceFactory::GetForProfile(
Profile* profile) {
return static_cast<BackgroundContentsService*>(
- GetInstance()->GetServiceForProfile(profile));
+ GetInstance()->GetServiceForProfile(profile, true));
}
// static

Powered by Google App Engine
This is Rietveld 408576698