Bug 1115986 - Fix JS_GetLatin1InternedStringChars identifier. r=terrence

This commit is contained in:
Tooru Fujisawa 2014-12-30 03:22:49 +09:00
parent 82879d45c3
commit 19126a4ad4

View File

@ -4845,7 +4845,7 @@ JS_CopyStringChars(JSContext *cx, mozilla::Range<char16_t> dest, JSString *str)
}
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());
JSFlatString *flat = str->ensureFlat(nullptr);