Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz

This commit is contained in:
Tom Schuster
2013-11-16 13:31:36 +01:00
parent 270dd7d828
commit ebd0246750
42 changed files with 268 additions and 322 deletions

View File

@@ -129,7 +129,7 @@ JavaScriptShared::convertIdToGeckoString(JSContext *cx, JS::HandleId id, nsStrin
if (!JS_IdToValue(cx, id, idval.address()))
return false;
RootedString str(cx, JS_ValueToString(cx, idval));
RootedString str(cx, ToString(cx, idval));
if (!str)
return false;