From 285970686c2a322b6db531965e2e3ae8fa92db22 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Wed, 28 Dec 2011 09:13:37 +0100 Subject: [PATCH] Bug 713553 - Remove GetRTStringByIndex; r=bholley --- js/xpconnect/src/XPCInlines.h | 6 ------ js/xpconnect/src/xpcprivate.h | 3 --- 2 files changed, 9 deletions(-) diff --git a/js/xpconnect/src/XPCInlines.h b/js/xpconnect/src/XPCInlines.h index 8ea20eef87e..91fd2f13af3 100644 --- a/js/xpconnect/src/XPCInlines.h +++ b/js/xpconnect/src/XPCInlines.h @@ -673,12 +673,6 @@ GetRTIdByIndex(JSContext *cx, uintN index) return rt->GetStringID(index); } -inline jsval -GetRTStringByIndex(JSContext *cx, uintN index) -{ - return STRING_TO_JSVAL(JSID_TO_STRING(GetRTIdByIndex(cx, index))); -} - inline JSBool ThrowBadParam(nsresult rv, uintN paramNum, XPCCallContext& ccx) { diff --git a/js/xpconnect/src/xpcprivate.h b/js/xpconnect/src/xpcprivate.h index e50a2a6d0ba..c10527c1644 100644 --- a/js/xpconnect/src/xpcprivate.h +++ b/js/xpconnect/src/xpcprivate.h @@ -4388,9 +4388,6 @@ xpc_ForcePropertyResolve(JSContext* cx, JSObject* obj, jsid id); inline jsid GetRTIdByIndex(JSContext *cx, uintN index); -inline jsval -GetRTStringByIndex(JSContext *cx, uintN index); - // Wrapper for JS_NewObject to mark the new object as system when parent is // also a system object. If uniqueType is specified then a new type object will // be created which is used only by the result, so that its property types