mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +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!!! */
|
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
||||||
|
|
||||||
#include "jsapi.h"
|
#include "jsapi.h"
|
||||||
#include "jsnum.h"
|
|
||||||
#include "nsJSUtils.h"
|
#include "nsJSUtils.h"
|
||||||
#include "nsDOMError.h"
|
#include "nsDOMError.h"
|
||||||
#include "nscore.h"
|
#include "nscore.h"
|
||||||
@ -250,7 +249,7 @@ CSSPrimitiveValueGetFloatValue(JSContext *cx, JSObject *obj, uintN argc, jsval *
|
|||||||
return nsJSUtils::nsReportError(cx, obj, result);
|
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;
|
return JS_TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user