зеркало из https://github.com/mozilla/gecko-dev.git
Followup fix for bug 605167. a=blocking beta 7
This commit is contained in:
Родитель
994b516c45
Коммит
0baaf609f7
|
@ -107,7 +107,7 @@ WrapperFactory::PrepareForWrapping(JSContext *cx, JSObject *scope, JSObject *obj
|
||||||
return nsnull;
|
return nsnull;
|
||||||
|
|
||||||
// We only hand out outer objects to script.
|
// We only hand out outer objects to script.
|
||||||
GetCurrentOuter(cx, obj);
|
obj = GetCurrentOuter(cx, obj);
|
||||||
if (obj->getClass()->ext.innerObject)
|
if (obj->getClass()->ext.innerObject)
|
||||||
return DoubleWrap(cx, obj, flags);
|
return DoubleWrap(cx, obj, flags);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче