mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Landing followup to the fix for bug 412491, this one somehow slipped through, just more of the same.
This commit is contained in:
parent
a08c95968b
commit
c0f11e79b8
@ -192,7 +192,7 @@ public:
|
||||
* Unwraps a XPCCrossOriginWrapper into its wrapped native.
|
||||
*/
|
||||
static JSObject *Unwrap(JSContext *cx, JSObject *wrapper) {
|
||||
if (JS_GET_CLASS(cx, wrapper) != &sXPC_XOW_JSClass.base) {
|
||||
if (STOBJ_GET_CLASS(wrapper) != &sXPC_XOW_JSClass.base) {
|
||||
return nsnull;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user