mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 927878 - crash in nsDOMOfflineResourceList::ApplicationCacheAvailable(nsIApplicationCache*) when installing an app, r=jduell
This commit is contained in:
parent
2cecdbda03
commit
93f11872a4
@ -2005,6 +2005,12 @@ nsOfflineCacheUpdate::NotifyUpdateAvailability(bool updateAvailable)
|
||||
void
|
||||
nsOfflineCacheUpdate::AssociateDocuments(nsIApplicationCache* cache)
|
||||
{
|
||||
if (!cache) {
|
||||
LOG(("nsOfflineCacheUpdate::AssociateDocuments bypassed"
|
||||
", no cache provided [this=%p]", this));
|
||||
return;
|
||||
}
|
||||
|
||||
nsCOMArray<nsIOfflineCacheUpdateObserver> observers;
|
||||
GatherObservers(observers);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user