mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 893314 - More uses of js_AtomToPrintableString need renaming to AtomToPrintableString. r=bhackett
This commit is contained in:
parent
a2d7846b39
commit
5d015575dc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user