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

Unified Diff: chrome/browser/profiles/profile_keyed_service_factory.cc

Issue 13865012: Change GetProfileToUse method from Profile to content::BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots Created 7 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/profiles/profile_keyed_service_factory.cc
diff --git a/chrome/browser/profiles/profile_keyed_service_factory.cc b/chrome/browser/profiles/profile_keyed_service_factory.cc
index dd74146e89eeff33a16ab2f0608918756d6869b1..b64f07382a291442e01b3bbbf3feed99dab2ad36 100644
--- a/chrome/browser/profiles/profile_keyed_service_factory.cc
+++ b/chrome/browser/profiles/profile_keyed_service_factory.cc
@@ -52,7 +52,7 @@ ProfileKeyedServiceFactory::~ProfileKeyedServiceFactory() {
ProfileKeyedService* ProfileKeyedServiceFactory::GetServiceForProfile(
content::BrowserContext* profile,
bool create) {
- profile = GetProfileToUse(profile);
+ profile = GetBrowserContextToUse(profile);
if (!profile)
return NULL;

Powered by Google App Engine
This is Rietveld 408576698