Bug 1177825 - Remove JSVAL_* constants. r=evilpie

This commit is contained in:
Jan de Mooij
2015-06-29 18:36:44 -07:00
parent 100ae26c5a
commit 987140de6f
34 changed files with 97 additions and 104 deletions

View File

@@ -270,7 +270,7 @@ JavaScriptShared::toVariant(JSContext* cx, JS::HandleValue from, JSVariant* to)
{
RootedObject obj(cx, from.toObjectOrNull());
if (!obj) {
MOZ_ASSERT(from == JSVAL_NULL);
MOZ_ASSERT(from.isNull());
*to = NullVariant();
return true;
}