From 97556fd57209ac0177008cba299861891a6b75dd Mon Sep 17 00:00:00 2001 From: Bobby Holley Date: Tue, 28 May 2013 10:29:37 -0700 Subject: [PATCH] Bug 870423 - Use the actual hasInstance proxy hook for function proxies. r=luke --- js/src/jsproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsproxy.cpp b/js/src/jsproxy.cpp index 226c4b4ac9d..0cfb869cedc 100644 --- a/js/src/jsproxy.cpp +++ b/js/src/jsproxy.cpp @@ -3197,7 +3197,7 @@ JS_FRIEND_DATA(Class) js::FunctionProxyClass = { proxy_Finalize, /* finalize */ NULL, /* checkAccess */ proxy_Call, - FunctionClass.hasInstance, + proxy_HasInstance, proxy_Construct, proxy_TraceFunction, /* trace */ PROXY_CLASS_EXT,