| Index: chrome/browser/profiles/off_the_record_profile_impl.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| index 12371a98ba567e4d2eac1d09df0b420a4af18ad2..4ff3bbdfd721a69c72cd7c3004def7fae4745a39 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| @@ -94,7 +94,8 @@ OffTheRecordProfileImpl::OffTheRecordProfileImpl(Profile* real_profile)
|
| }
|
|
|
| void OffTheRecordProfileImpl::Init() {
|
| - ProfileDependencyManager::GetInstance()->CreateProfileServices(this, false);
|
| + BrowserContextDependencyManager::GetInstance()->CreateBrowserContextServices(
|
| + this, false);
|
|
|
| extensions::ExtensionSystem::Get(this)->InitForOTRProfile();
|
|
|
| @@ -140,7 +141,8 @@ OffTheRecordProfileImpl::~OffTheRecordProfileImpl() {
|
| io_data_.GetResourceContextNoInit());
|
| #endif
|
|
|
| - ProfileDependencyManager::GetInstance()->DestroyProfileServices(this);
|
| + BrowserContextDependencyManager::GetInstance()->DestroyBrowserContextServices(
|
| + this);
|
|
|
| BrowserThread::PostTask(
|
| BrowserThread::IO, FROM_HERE,
|
|
|