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:
Jose Cortes
2013-04-02 16:05:37 -07:00
parent 871048c78d
commit a961d823b8
9 changed files with 53 additions and 50 deletions

View File

@@ -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