mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 5795fd10ba3d from bug 528651 due to Ts regressions.
This commit is contained in:
parent
00be96167a
commit
d7de01a104
@ -3143,7 +3143,7 @@ nsComponentManagerImpl::AutoRegisterComponent(nsILocalFile* aComponentFile,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (NS_SUCCEEDED(rv))
|
||||
if (NS_SUCCEEDED(rv) && modTime != 0)
|
||||
mAutoRegEntries.Put(lfhash, modTime);
|
||||
|
||||
return rv;
|
||||
@ -3200,7 +3200,7 @@ nsComponentManagerImpl::LoadDeferredModules(nsTArray<DeferredModule> &aDeferred)
|
||||
d.file,
|
||||
d.location.get(),
|
||||
d.type);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
if (NS_SUCCEEDED(rv) && d.modTime != 0) {
|
||||
nsCOMPtr<nsIHashable> lfhash(do_QueryInterface(d.file));
|
||||
if (lfhash)
|
||||
mAutoRegEntries.Put(lfhash, d.modTime);
|
||||
|
Loading…
Reference in New Issue
Block a user