back out dp's unsafe optimization that caused crash on first run
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user