Bug 1339036 - Rename JSTYPE_VOID to JSTYPE_UNDEFINED. r=arai
This commit is contained in:
@@ -236,7 +236,7 @@ bool
|
||||
JavaScriptShared::toVariant(JSContext* cx, JS::HandleValue from, JSVariant* to)
|
||||
{
|
||||
switch (JS_TypeOfValue(cx, from)) {
|
||||
case JSTYPE_VOID:
|
||||
case JSTYPE_UNDEFINED:
|
||||
*to = UndefinedVariant();
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user