Created attachment 274234 [details] [diff] [review] Fix. There doesn't seem to be a real reason for exposing the global object owner on the script global object, no callers in our code need it.
Comment on attachment 274234 [details] [diff] [review] Fix. I'd make the nsXBLDocGlobalObject constructor take aGlobalObjectOwner as a parameter and then change the remaining SetGlobalObjectOwner functions to ClearGlobalObjectOwner. r/sr=me regardless.
Created attachment 275869 [details] [diff] [review] Updated fix. I did that, and I renamed SetGlobalObjectOwner() to ClearGlobalObjectOwner() (and removed the argument) in nsXULPrototypeDocument.cpp as well. Thanks for the review!
Fix checked in.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
12 years ago
You need to log in before you can comment on or make changes to this bug.