| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index e36bb9fd81d9daf499db1e6b92178181a78bb00c..8ff4bd4032596f3856ef5713e3360928ab1ce7fc 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -414,7 +414,8 @@ void ProfileImpl::DoFinalInit() {
|
| restore_old_session_cookies);
|
|
|
| ChromePluginServiceFilter::GetInstance()->RegisterResourceContext(
|
| - PluginPrefs::GetForProfile(this), &GetResourceContext());
|
| + PluginPrefs::GetForProfile(this),
|
| + &io_data_.GetResourceContextNoInit());
|
|
|
| // Creation has been finished.
|
| if (delegate_)
|
| @@ -571,7 +572,7 @@ ProfileImpl::~ProfileImpl() {
|
| sync_service_.reset();
|
|
|
| ChromePluginServiceFilter::GetInstance()->UnregisterResourceContext(
|
| - &GetResourceContext());
|
| + &io_data_.GetResourceContextNoInit());
|
|
|
| ProfileDependencyManager::GetInstance()->DestroyProfileServices(this);
|
|
|
| @@ -1285,7 +1286,7 @@ void ProfileImpl::CreateQuotaManagerAndClients() {
|
| appcache_service_.get(),
|
| IsOffTheRecord()
|
| ? FilePath() : GetPath().Append(chrome::kAppCacheDirname),
|
| - &GetResourceContext(),
|
| + &io_data_.GetResourceContextNoInit(),
|
| make_scoped_refptr(GetExtensionSpecialStoragePolicy())));
|
| }
|
|
|
|
|