Closed Bug 823088 Opened 8 years ago Closed 8 years ago
Add a static assertion that bindings with descriptor
.native Ownership == 'nsisupports' inherit from ns ISupports
I noticed that we'd happily build when you make a class not inherit from nsISupports without updating the nativeOwnership. This adds static assertions in the code that reinterpret_casts to nsISupports*.
Attachment #693912 - Flags: review?(peterv)
Comment on attachment 693912 [details] [diff] [review] Patch v1 r=me
Attachment #693912 - Flags: review?(peterv) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.