Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user