| Index: chrome/browser/profiles/profile_impl_io_data.cc
|
| diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
|
| index 58e63bada7622d144280acd93944582d9a169927..ec5629b49945964b8663fc833c03b6868848ca63 100644
|
| --- a/chrome/browser/profiles/profile_impl_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc
|
| @@ -131,6 +131,13 @@ ProfileImplIOData::Handle::GetChromeURLDataManagerBackendGetter() const {
|
| const content::ResourceContext&
|
| ProfileImplIOData::Handle::GetResourceContext() const {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + LazyInitialize();
|
| + return GetResourceContextNoInit();
|
| +}
|
| +
|
| +const content::ResourceContext&
|
| +ProfileImplIOData::Handle::GetResourceContextNoInit() const {
|
| + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| // Don't call LazyInitialize here, since the resource context is created at
|
| // the beginning of initalization and is used by some members while they're
|
| // being initialized (i.e. AppCacheService).
|
|
|