summaryrefslogtreecommitdiff
path: root/image/imgRequest.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/imgRequest.h')
-rw-r--r--image/imgRequest.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/image/imgRequest.h b/image/imgRequest.h
index c05e6a4a94..2ee00af4a9 100644
--- a/image/imgRequest.h
+++ b/image/imgRequest.h
@@ -65,16 +65,16 @@ public:
NS_DECL_NSIINTERFACEREQUESTOR
NS_DECL_NSIASYNCVERIFYREDIRECTCALLBACK
- MOZ_MUST_USE nsresult Init(nsIURI* aURI,
- nsIURI* aCurrentURI,
- bool aHadInsecureRedirect,
- nsIRequest* aRequest,
- nsIChannel* aChannel,
- imgCacheEntry* aCacheEntry,
- nsISupports* aCX,
- nsIPrincipal* aLoadingPrincipal,
- int32_t aCORSMode,
- ReferrerPolicy aReferrerPolicy);
+ [[nodiscard]] nsresult Init(nsIURI* aURI,
+ nsIURI* aCurrentURI,
+ bool aHadInsecureRedirect,
+ nsIRequest* aRequest,
+ nsIChannel* aChannel,
+ imgCacheEntry* aCacheEntry,
+ nsISupports* aCX,
+ nsIPrincipal* aLoadingPrincipal,
+ int32_t aCORSMode,
+ ReferrerPolicy aReferrerPolicy);
void ClearLoader();