Bug 1115986 - Fix JS_GetLatin1InternedStringChars identifier. r=terrence
authorTooru Fujisawa <arai_a@mac.com>
Tue, 30 Dec 2014 03:22:49 +0900
changeset 221517 39e02863f4811c50f728d88c2e1fe8cd606eb6aa
parent 221516 47d9e690f4a948ea3fe567b571d9994746297be6
child 221518 ade74ec9427cdde8a28fdc025fef2809b9cf4cf3
push id28032
push userkwierso@gmail.com
push dateTue, 30 Dec 2014 01:28:14 +0000
treeherdermozilla-central@67872ce17918 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersterrence
bugs1115986
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1115986 - Fix JS_GetLatin1InternedStringChars identifier. r=terrence
js/src/jsapi.cpp
--- a/js/src/jsapi.cpp
+++ b/js/src/jsapi.cpp
@@ -4840,17 +4840,17 @@ JS_CopyStringChars(JSContext *cx, mozill
         return false;
 
     MOZ_ASSERT(linear->length() <= dest.length());
     CopyChars(dest.start().get(), *linear);
     return true;
 }
 
 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);
     if (!flat)
         return nullptr;
     return flat->latin1Chars(nogc);
 }