Index: src/runtime/runtime-proxy.cc |
diff --git a/src/runtime/runtime-proxy.cc b/src/runtime/runtime-proxy.cc |
index 03af691cf336cb421a6e79d16b183694ab753908..4699647b8013a7d30c633b3192089d4ecc7a027a 100644 |
--- a/src/runtime/runtime-proxy.cc |
+++ b/src/runtime/runtime-proxy.cc |
@@ -25,7 +25,7 @@ RUNTIME_FUNCTION(Runtime_CreateJSFunctionProxy) { |
HandleScope scope(isolate); |
DCHECK(args.length() == 4); |
CONVERT_ARG_HANDLE_CHECKED(JSReceiver, handler, 0); |
- CONVERT_ARG_HANDLE_CHECKED(Object, call_trap, 1); |
+ CONVERT_ARG_HANDLE_CHECKED(JSReceiver, call_trap, 1); |
RUNTIME_ASSERT(call_trap->IsJSFunction() || call_trap->IsJSFunctionProxy()); |
CONVERT_ARG_HANDLE_CHECKED(JSFunction, construct_trap, 2); |
CONVERT_ARG_HANDLE_CHECKED(Object, prototype, 3); |