mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Use the public JS functions and not internal ones, this didn't work on the Mac, but was fine on windows and linux.
This commit is contained in:
parent
bdd141574d
commit
c027dde21f
@ -22,7 +22,6 @@
|
||||
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
||||
|
||||
#include "jsapi.h"
|
||||
#include "jsnum.h"
|
||||
#include "nsJSUtils.h"
|
||||
#include "nsDOMError.h"
|
||||
#include "nscore.h"
|
||||
@ -250,7 +249,7 @@ CSSPrimitiveValueGetFloatValue(JSContext *cx, JSObject *obj, uintN argc, jsval *
|
||||
return nsJSUtils::nsReportError(cx, obj, result);
|
||||
}
|
||||
|
||||
*rval = DOUBLE_TO_JSVAL(js_NewDouble(cx, nativeRet));
|
||||
*rval = DOUBLE_TO_JSVAL(JS_NewDouble(cx, nativeRet));
|
||||
}
|
||||
|
||||
return JS_TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user