diff --git a/xpcom/components/nsComponentManager.cpp b/xpcom/components/nsComponentManager.cpp index ace8c6780f06..7fb5c5b6926f 100644 --- a/xpcom/components/nsComponentManager.cpp +++ b/xpcom/components/nsComponentManager.cpp @@ -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.