Backed out changeset ae8d72538dee (bug 897484) for b2g bustage

This commit is contained in:
Carsten "Tomcat" Book
2013-07-26 12:34:25 +02:00
parent 20ef75b4cd
commit beb4a5c20d
52 changed files with 180 additions and 185 deletions

View File

@@ -372,7 +372,7 @@ JavaScriptChild::AnswerGet(const ObjectId &objId, const ObjectId &receiverId, co
if (!convertGeckoStringToId(cx, id, &internedId))
return fail(cx, rs);
JS::Rooted<JS::Value> val(cx);
JS::Value val;
if (!JS_ForwardGetPropertyTo(cx, obj, internedId, receiver, &val))
return fail(cx, rs);
@@ -516,7 +516,7 @@ JavaScriptChild::AnswerCall(const ObjectId &objId, const nsTArray<JSParam> &argv
for (size_t i = 0; i < outobjects.length(); i++) {
RootedObject obj(cx, &outobjects[i].toObject());
RootedValue v(cx);
jsval v;
JSBool found;
if (JS_HasProperty(cx, obj, "value", &found)) {
if (!JS_GetProperty(cx, obj, "value", &v))