Index: chrome/browser/profiles/profile_impl_io_data.cc |
=================================================================== |
--- chrome/browser/profiles/profile_impl_io_data.cc (revision 84527) |
+++ chrome/browser/profiles/profile_impl_io_data.cc (working copy) |
@@ -76,7 +76,9 @@ |
const content::ResourceContext& |
ProfileImplIOData::Handle::GetResourceContext() const { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- LazyInitialize(); |
+ // 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). |
return io_data_->GetResourceContext(); |
} |