зеркало из https://github.com/mozilla/pjs.git
make it build without the new cache
This commit is contained in:
Родитель
c2940dd311
Коммит
6ff2a51653
|
@ -39,7 +39,9 @@
|
|||
|
||||
#include "gfxIImageFrame.h"
|
||||
|
||||
#ifdef MOZ_NEW_CACHE
|
||||
#include "nsICachingChannel.h"
|
||||
#endif
|
||||
#include "ImageCache.h"
|
||||
|
||||
#include "ImageLogging.h"
|
||||
|
@ -535,9 +537,10 @@ NS_IMETHODIMP imgRequest::OnStopRequest(nsIRequest *aRequest, nsISupports *ctxt,
|
|||
/* set our processing flag to false */
|
||||
mProcessing = PR_FALSE;
|
||||
|
||||
#ifdef MOZ_NEW_CACHE
|
||||
/* break the cycle from the cache entry. */
|
||||
mCacheEntry = nsnull;
|
||||
|
||||
#endif
|
||||
switch(status) {
|
||||
case NS_BINDING_ABORTED:
|
||||
case NS_BINDING_FAILED:
|
||||
|
|
Загрузка…
Ссылка в новой задаче