mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1557225. Make MakeInputStream MOZ_MUST_USE. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D33905 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c9ee4bb3ac
commit
1466b9f2a6
@ -48,7 +48,8 @@ class nsIconChannel final : public nsIChannel, public nsIStreamListener {
|
||||
nsCOMPtr<nsIInputStreamPump> mPump;
|
||||
nsCOMPtr<nsIStreamListener> mListener;
|
||||
|
||||
nsresult MakeInputStream(nsIInputStream** _retval, bool nonBlocking);
|
||||
MOZ_MUST_USE nsresult MakeInputStream(nsIInputStream** _retval,
|
||||
bool nonBlocking);
|
||||
|
||||
nsresult ExtractIconInfoFromUrl(nsIFile** aLocalFile,
|
||||
uint32_t* aDesiredImageSize,
|
||||
|
@ -69,8 +69,8 @@ class nsIconChannel final : public nsIChannel, public nsIStreamListener {
|
||||
nsresult GetHIconFromFile(bool aNonBlocking, HICON* hIcon);
|
||||
nsresult GetHIconFromFile(nsIFile* aLocalFile, const nsAutoString& aPath,
|
||||
UINT aInfoFlags, HICON* hIcon);
|
||||
nsresult MakeInputStream(nsIInputStream** _retval, bool aNonBlocking,
|
||||
HICON aIcon);
|
||||
MOZ_MUST_USE nsresult MakeInputStream(nsIInputStream** _retval,
|
||||
bool aNonBlocking, HICON aIcon);
|
||||
|
||||
// Functions specific to Vista and above
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user