Closed Bug 447844 Opened 17 years ago Closed 17 years ago

Fix build with JS_HAS_SCRIPT_OBJECT

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: graydon, Unassigned)

Details

Attachments

(1 file)

Current build fails when JS_HAS_SCRIPT_OBJECT is defined. Minor drift, nothing serious.
Attachment #331169 - Flags: review?(mrbkap)
Comment on attachment 331169 [details] [diff] [review] patch fixing build >- obj = js_NewObject(cx, &js_ScriptClass, NULL, NULL); >+ obj = JS_NewObject(cx, &js_ScriptClass, NULL, NULL); Prefer js_NewObject(..., 0) over going through the API entry point. r=mrbkap with that.
Attachment #331169 - Flags: review?(mrbkap) → review+
Pushed with change you suggest, in revision b51037907ac2.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: