mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Bug 1115986 - Fix JS_GetLatin1InternedStringChars identifier. r=terrence
This commit is contained in:
parent
82879d45c3
commit
19126a4ad4
@ -4845,7 +4845,7 @@ JS_CopyStringChars(JSContext *cx, mozilla::Range<char16_t> dest, JSString *str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
JS_PUBLIC_API(const Latin1Char *)
|
JS_PUBLIC_API(const Latin1Char *)
|
||||||
JS_Latin1InternedStringChars(const JS::AutoCheckCannotGC &nogc, JSString *str)
|
JS_GetLatin1InternedStringChars(const JS::AutoCheckCannotGC &nogc, JSString *str)
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(str->isAtom());
|
MOZ_ASSERT(str->isAtom());
|
||||||
JSFlatString *flat = str->ensureFlat(nullptr);
|
JSFlatString *flat = str->ensureFlat(nullptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user