Bug 921548 - Remove js_ValueToNonNullObject, which was entirely equivalent to ToObject. r=jorendorff

This commit is contained in:
Jeff Walden
2013-09-27 11:19:47 -07:00
parent 0ef4a34b4a
commit 443efa2af8
7 changed files with 8 additions and 24 deletions

View File

@@ -985,7 +985,7 @@ js::ValueToIterator(JSContext *cx, unsigned flags, MutableHandleValue vp)
return false;
/* fall through */
} else {
obj = js_ValueToNonNullObject(cx, vp);
obj = ToObject(cx, vp);
if (!obj)
return false;
}