Fix merge bustage.

This commit is contained in:
Robert Sayre 2010-04-12 10:08:55 -04:00
parent 114d145903
commit 98a3aefdbd
2 changed files with 6 additions and 2 deletions

View File

@ -45,6 +45,10 @@
#include "jsiter.h" #include "jsiter.h"
#include "jsscope.h" #include "jsscope.h"
#ifdef INCLUDE_MOZILLA_DTRACE
#include "jsdtracef.h"
#endif
#include "jsscopeinlines.h" #include "jsscopeinlines.h"
inline jsval inline jsval

View File

@ -121,7 +121,7 @@ ArrayBuffer::create(JSContext *cx, JSObject *obj,
uintN argc, jsval *argv, jsval *rval) uintN argc, jsval *argv, jsval *rval)
{ {
if (!obj) { if (!obj) {
obj = js_NewObject(cx, &ArrayBuffer::jsclass, NULL, NULL); obj = NewObject(cx, &ArrayBuffer::jsclass, NULL, NULL);
if (!obj) if (!obj)
return false; return false;
*rval = OBJECT_TO_JSVAL(obj); *rval = OBJECT_TO_JSVAL(obj);
@ -708,7 +708,7 @@ class TypedArrayTemplate
create(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) create(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{ {
if (!obj) { if (!obj) {
obj = js_NewObject(cx, slowClass(), NULL, NULL); obj = NewObject(cx, slowClass(), NULL, NULL);
if (!obj) if (!obj)
return false; return false;
*rval = OBJECT_TO_JSVAL(obj); *rval = OBJECT_TO_JSVAL(obj);