mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
back out dp's unsafe optimization that caused crash on first run
This commit is contained in:
parent
19fa57d1f9
commit
3f9d673a94
@ -1160,9 +1160,7 @@ nsComponentManagerImpl::ProgIDToClassID(const char *aProgID, nsCID *aClass)
|
||||
else {
|
||||
// This is the first time someone has asked for this
|
||||
// ProgID. Go to the registry to find the CID.
|
||||
if (!mPrePopulationDone) {
|
||||
res = PlatformProgIDToCLSID(aProgID, aClass);
|
||||
}
|
||||
res = PlatformProgIDToCLSID(aProgID, aClass);
|
||||
|
||||
if (NS_SUCCEEDED(res)) {
|
||||
// Found it. So put it into the cache.
|
||||
|
Loading…
Reference in New Issue
Block a user