Backout changeset 5bdc787cf16f (bug 432391) for xpcshell crashes; a=bz

This commit is contained in:
Ed Morley 2011-10-14 22:34:24 +01:00
Родитель 434481b476
Коммит d09bf13486
1 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -52,7 +52,6 @@
#include "Image.h"
#include "ImageErrors.h"
#include "ImageLogging.h"
#include "imgLoader.h"
#include "nspr.h"
@ -529,14 +528,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->mValidator) {
clone->SetNotificationsDeferred(PR_TRUE);
mOwner->mValidator->AddProxy(clone);
}
return NS_OK;
}