mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1123000
- Mark nsDiscriminatedUnion::mInterfaceValue as owning; r=froydnj
This commit is contained in:
parent
4f8f88a90d
commit
0c1e071a73
@ -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