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

Unified Diff: chrome/browser/tabs/pinned_tab_service_factory.cc

Issue 6879031: Add optional creation to ProfileKeyedServiceFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add docs for new parameter 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/tabs/pinned_tab_service_factory.cc
diff --git a/chrome/browser/tabs/pinned_tab_service_factory.cc b/chrome/browser/tabs/pinned_tab_service_factory.cc
index 13789c6d5269280452af56bfcd020b2080285326..5ef50a93e77ee5137401faae86b3b13d035118f6 100644
--- a/chrome/browser/tabs/pinned_tab_service_factory.cc
+++ b/chrome/browser/tabs/pinned_tab_service_factory.cc
@@ -12,7 +12,7 @@
PinnedTabService* PinnedTabServiceFactory::GetForProfile(
Profile* profile) {
return static_cast<PinnedTabService*>(
- GetInstance()->GetServiceForProfile(profile));
+ GetInstance()->GetServiceForProfile(profile, true));
}
PinnedTabServiceFactory* PinnedTabServiceFactory::GetInstance() {
« no previous file with comments | « chrome/browser/profiles/profile_keyed_service_factory.cc ('k') | chrome/browser/themes/theme_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698