Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/bindings/ dom/plugins/ dom/src/ dom/activities/ directories. r=jwalden
This commit is contained in:
@@ -1525,9 +1525,9 @@ _evaluate(NPP npp, NPObject* npobj, NPString *script, NPVariant *result)
|
||||
"JS_ObjectToInnerObject should never return null with non-null input.");
|
||||
|
||||
// Root obj and the rval (below).
|
||||
jsval vec[] = { OBJECT_TO_JSVAL(obj), JSVAL_NULL };
|
||||
JS::Value vec[] = { OBJECT_TO_JSVAL(obj), JSVAL_NULL };
|
||||
JS::AutoArrayRooter tvr(cx, ArrayLength(vec), vec);
|
||||
jsval *rval = &vec[1];
|
||||
JS::Value *rval = &vec[1];
|
||||
|
||||
if (result) {
|
||||
// Initialize the out param to void
|
||||
|
||||
Reference in New Issue
Block a user