mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
Fix merge bustage.
This commit is contained in:
parent
114d145903
commit
98a3aefdbd
@ -45,6 +45,10 @@
|
||||
#include "jsiter.h"
|
||||
#include "jsscope.h"
|
||||
|
||||
#ifdef INCLUDE_MOZILLA_DTRACE
|
||||
#include "jsdtracef.h"
|
||||
#endif
|
||||
|
||||
#include "jsscopeinlines.h"
|
||||
|
||||
inline jsval
|
||||
|
@ -121,7 +121,7 @@ ArrayBuffer::create(JSContext *cx, JSObject *obj,
|
||||
uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
if (!obj) {
|
||||
obj = js_NewObject(cx, &ArrayBuffer::jsclass, NULL, NULL);
|
||||
obj = NewObject(cx, &ArrayBuffer::jsclass, NULL, NULL);
|
||||
if (!obj)
|
||||
return false;
|
||||
*rval = OBJECT_TO_JSVAL(obj);
|
||||
@ -708,7 +708,7 @@ class TypedArrayTemplate
|
||||
create(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
if (!obj) {
|
||||
obj = js_NewObject(cx, slowClass(), NULL, NULL);
|
||||
obj = NewObject(cx, slowClass(), NULL, NULL);
|
||||
if (!obj)
|
||||
return false;
|
||||
*rval = OBJECT_TO_JSVAL(obj);
|
||||
|
Loading…
Reference in New Issue
Block a user