diff --git a/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp b/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp index 6e96ada345d..9d6209e0561 100644 --- a/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp +++ b/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp @@ -119,7 +119,7 @@ static PLDHashOperator CancelImageRequest(const nsAString& aKey, nsTreeImageCacheEntry aEntry, void* aData) { - aEntry.request->Cancel(NS_BINDING_ABORTED); + aEntry.request->CancelAndForgetObserver(NS_BINDING_ABORTED); return PL_DHASH_NEXT; }