Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
This commit is contained in:
@@ -180,7 +180,7 @@ JavaScriptShared::toVariant(JSContext *cx, JS::HandleValue from, JSVariant *to)
|
||||
{
|
||||
RootedObject obj(cx, from.toObjectOrNull());
|
||||
if (!obj) {
|
||||
JS_ASSERT(from == JSVAL_NULL);
|
||||
MOZ_ASSERT(from == JSVAL_NULL);
|
||||
*to = uint64_t(0);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user