Bug 1339036 - Rename JSTYPE_VOID to JSTYPE_UNDEFINED. r=arai

This commit is contained in:
Tom Schuster
2017-02-13 17:26:16 +01:00
parent e19a6308ce
commit 932e8ca649
13 changed files with 20 additions and 20 deletions

View File

@@ -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;