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 "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
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user