Landing followup to the fix for bug 412491, this one somehow slipped through, just more of the same.

This commit is contained in:
jst@mozilla.org 2008-01-29 21:55:12 -08:00
parent a08c95968b
commit c0f11e79b8

View File

@ -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;
}