Merge from mozilla-central.

This commit is contained in:
David Anderson
2012-03-27 12:48:33 -07:00
717 changed files with 20215 additions and 7926 deletions

View File

@@ -1750,8 +1750,7 @@ InitIteratorClass(JSContext *cx, GlobalObject *global)
iteratorProto->setNativeIterator(ni);
JSFunction *ctor = global->createConstructor(cx, Iterator, &IteratorClass,
CLASS_ATOM(cx, Iterator), 2);
JSFunction *ctor = global->createConstructor(cx, Iterator, CLASS_ATOM(cx, Iterator), 2);
if (!ctor)
return false;