Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg

This commit is contained in:
Kyle Huey
2014-03-15 12:00:15 -07:00
parent d2c6fbbb08
commit ea94e7d568
129 changed files with 299 additions and 269 deletions

View File

@@ -298,7 +298,7 @@ AtomIsInterned(JSContext *cx, JSAtom *atom)
*/
MOZ_ALWAYS_INLINE
static JSAtom *
AtomizeAndTakeOwnership(ExclusiveContext *cx, jschar *tbchars, size_t length, InternBehavior ib)
AtomizeAndtake(ExclusiveContext *cx, jschar *tbchars, size_t length, InternBehavior ib)
{
JS_ASSERT(tbchars[length] == 0);
@@ -461,7 +461,7 @@ js::Atomize(ExclusiveContext *cx, const char *bytes, size_t length, InternBehavi
jschar *tbcharsZ = InflateString(cx, bytes, &length);
if (!tbcharsZ)
return nullptr;
return AtomizeAndTakeOwnership(cx, tbcharsZ, length, ib);
return AtomizeAndtake(cx, tbcharsZ, length, ib);
}
JSAtom *