Bug 893314 - More uses of js_AtomToPrintableString need renaming to AtomToPrintableString. r=bhackett

This commit is contained in:
Douglas Crosher 2013-07-13 14:00:53 +10:00
parent a2d7846b39
commit 5d015575dc

View File

@ -492,7 +492,7 @@ SendFunctionsToPerf(JSContext *cx, AsmJSModule &module)
unsigned long size = (end - start);
JSAutoByteString bytes;
const char *method_name = js_AtomToPrintableString(cx, func.name, &bytes);
const char *method_name = AtomToPrintableString(cx, func.name, &bytes);
if (!method_name)
return false;
@ -522,7 +522,7 @@ SendBlocksToPerf(JSContext *cx, AsmJSModule &module)
unsigned long size = (unsigned long)func.endCodeOffset - (unsigned long)func.startCodeOffset;
JSAutoByteString bytes;
const char *method_name = js_AtomToPrintableString(cx, func.name, &bytes);
const char *method_name = AtomToPrintableString(cx, func.name, &bytes);
if (!method_name)
return false;