mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1167590 - Mark imgRequestProxy::mListener as MOZ_UNSAFE_REF. r=seth
This commit is contained in:
parent
d043439ec2
commit
61d9c6f9c7
@ -204,7 +204,10 @@ private:
|
||||
// mListener is only promised to be a weak ref (see imgILoader.idl),
|
||||
// but we actually keep a strong ref to it until we've seen our
|
||||
// first OnStopRequest.
|
||||
imgINotificationObserver* mListener;
|
||||
imgINotificationObserver* MOZ_UNSAFE_REF("Observers must call Cancel() or "
|
||||
"CancelAndForgetObserver() before "
|
||||
"they are destroyed") mListener;
|
||||
|
||||
nsCOMPtr<nsILoadGroup> mLoadGroup;
|
||||
|
||||
nsLoadFlags mLoadFlags;
|
||||
|
Loading…
Reference in New Issue
Block a user