From 26aae65fb6bbc9cf5da762c4791e906b6b7cf478 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Thu, 3 May 2012 06:22:58 -0400 Subject: [PATCH] Bug 751280 - Remove 2-arg form of xpc_FastGetCachedWrapper. r=bholley --- js/xpconnect/src/xpcpublic.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/js/xpconnect/src/xpcpublic.h b/js/xpconnect/src/xpcpublic.h index 33118993f5d..0e28c636599 100644 --- a/js/xpconnect/src/xpcpublic.h +++ b/js/xpconnect/src/xpcpublic.h @@ -154,13 +154,6 @@ xpc_FastGetCachedWrapper(nsWrapperCache *cache, JSObject *scope, jsval *vp) return nsnull; } -inline JSObject* -xpc_FastGetCachedWrapper(nsWrapperCache *cache, JSObject *scope) -{ - jsval dummy; - return xpc_FastGetCachedWrapper(cache, scope, &dummy); -} - // The JS GC marks objects gray that are held alive directly or // indirectly by an XPConnect root. The cycle collector explores only // this subset of the JS heap.