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 1b47f55e7d
commit 7c5fc076d8

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;
}