From 1de9809f353dae39a18666eb0f201b42300c68c2 Mon Sep 17 00:00:00 2001 From: "jst%netscape.com" Date: Sun, 14 May 2000 02:43:03 +0000 Subject: [PATCH] Use the public JS functions and not internal ones, this didn't work on the Mac, but was fine on windows and linux. git-svn-id: svn://10.0.0.236/trunk@69613 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/dom/src/css/nsJSCSSPrimitiveValue.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mozilla/dom/src/css/nsJSCSSPrimitiveValue.cpp b/mozilla/dom/src/css/nsJSCSSPrimitiveValue.cpp index 25d85246ec5..8c9fb668c47 100644 --- a/mozilla/dom/src/css/nsJSCSSPrimitiveValue.cpp +++ b/mozilla/dom/src/css/nsJSCSSPrimitiveValue.cpp @@ -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;