Bug 965899 - Ensure properties are loaded before CacheFileIOManager::OnProfile call, r=michal

This commit is contained in:
Honza Bambas 2014-02-04 01:52:58 +01:00
parent e9a11b99f8
commit 577bfa471a

View File

@ -225,9 +225,9 @@ CacheObserver::Observe(nsISupports* aSubject,
}
if (!strcmp(aTopic, "profile-do-change")) {
AttachToPreferences();
CacheFileIOManager::Init();
CacheFileIOManager::OnProfile();
AttachToPreferences();
return NS_OK;
}