зеркало из https://github.com/mozilla/gecko-dev.git
Bug 907937 - Followup fix for review-nit bustage. r=me CLOSED TREE
This commit is contained in:
Родитель
0b5f94b524
Коммит
8fb2b21340
|
@ -366,7 +366,7 @@ JSCompartment::wrap(JSContext *cx, MutableHandleObject obj, HandleObject existin
|
|||
bool
|
||||
JSCompartment::wrapId(JSContext *cx, jsid *idp)
|
||||
{
|
||||
JS_ASSERT(*idp != JSID_VOID, "JSID_VOID is an out-of-band sentinel value");
|
||||
MOZ_ASSERT(*idp != JSID_VOID, "JSID_VOID is an out-of-band sentinel value");
|
||||
if (JSID_IS_INT(*idp))
|
||||
return true;
|
||||
RootedValue value(cx, IdToValue(*idp));
|
||||
|
|
Загрузка…
Ссылка в новой задаче