mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 0d2caaf1d0a8 (bug 432391) because the validator seems to trigger onload firing at some bogus time
This commit is contained in:
parent
1e814c4a24
commit
00f3715565
@ -52,7 +52,6 @@
|
||||
#include "Image.h"
|
||||
#include "ImageErrors.h"
|
||||
#include "ImageLogging.h"
|
||||
#include "imgLoader.h"
|
||||
|
||||
#include "nspr.h"
|
||||
|
||||
@ -535,14 +534,6 @@ NS_IMETHODIMP imgRequestProxy::Clone(imgIDecoderObserver* aObserver,
|
||||
// assumes that we don't. This will be fixed in bug 580466.
|
||||
clone->SyncNotifyListener();
|
||||
|
||||
// It's weird to defer notifications now that we just dispatched
|
||||
// them, but we need to do the latter, and imgCacheValidator demands
|
||||
// the former.
|
||||
if (mOwner && mOwner->mValidator) {
|
||||
clone->SetNotificationsDeferred(PR_TRUE);
|
||||
mOwner->mValidator->AddProxy(clone);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user