Chromium Code Reviews| Index: chrome/browser/profiles/profile.cc |
| diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc |
| index bceb2a30a51760efd1746cb05b592d393e70ac04..3e3678dfb9f2da96e981dcfeba40d0b460212371 100644 |
| --- a/chrome/browser/profiles/profile.cc |
| +++ b/chrome/browser/profiles/profile.cc |
| @@ -220,14 +220,12 @@ class OffTheRecordProfileImpl : public Profile, |
| prefs_(real_profile->GetOffTheRecordPrefs()), |
| ALLOW_THIS_IN_INITIALIZER_LIST(io_data_(this)), |
| start_time_(Time::Now()) { |
| -#ifndef NDEBUG |
| - ProfileDependencyManager::GetInstance()->ProfileNowExists(this); |
| -#endif |
| - |
| extension_process_manager_.reset(ExtensionProcessManager::Create(this)); |
| BrowserList::AddObserver(this); |
| + ProfileDependencyManager::GetInstance()->CreateProfileServices(this, false); |
| + |
| BackgroundContentsServiceFactory::GetForProfile(this); |
|
Elliot Glaysher
2011/06/30 23:55:03
(Realized I missed this one)
|
| DCHECK(real_profile->GetPrefs()->GetBoolean(prefs::kIncognitoEnabled)); |