mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1123000 - Mark nsDiscriminatedUnion::mInterfaceValue as owning; r=froydnj
This commit is contained in:
parent
59d84203a2
commit
d4a2ec7dbf
@ -53,7 +53,10 @@ struct nsDiscriminatedUnion
|
||||
nsACString* mCStringValue;
|
||||
struct
|
||||
{
|
||||
nsISupports* mInterfaceValue;
|
||||
// This is an owning reference that cannot be an nsCOMPtr because
|
||||
// nsDiscriminatedUnion needs to be POD. AddRef/Release are manually
|
||||
// called on this.
|
||||
nsISupports* MOZ_OWNING_REF mInterfaceValue;
|
||||
nsIID mInterfaceID;
|
||||
} iface;
|
||||
struct
|
||||
|
Loading…
Reference in New Issue
Block a user