| Index: chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| index ad3b2c051107d9c1e2b1b47fb7cc571e28dd32ba..26dee4e549bb11d77a2186e62d1cfc556953a2da 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| @@ -67,6 +67,13 @@ GetChromeURLDataManagerBackendGetter() const {
|
| const content::ResourceContext&
|
| OffTheRecordProfileIOData::Handle::GetResourceContext() const {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + LazyInitialize();
|
| + return GetResourceContextNoInit();
|
| +}
|
| +
|
| +const content::ResourceContext&
|
| +OffTheRecordProfileIOData::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).
|
|
|