Index: src/api-arguments.h |
diff --git a/src/api-arguments.h b/src/api-arguments.h |
index 57a2d98db11b2bf558691a00cde8ead960943c97..f1573fe83fa469f276ad8832a9ee4b28bf0291fc 100644 |
--- a/src/api-arguments.h |
+++ b/src/api-arguments.h |
@@ -58,7 +58,7 @@ Handle<V> CustomArguments<T>::GetReturnValue(Isolate* isolate) { |
// Check the ReturnValue. |
Object** handle = &this->begin()[kReturnValueOffset]; |
// Nothing was set, return empty handle as per previous behaviour. |
- if ((*handle)->IsTheHole()) return Handle<V>(); |
+ if ((*handle)->IsTheHole(isolate)) return Handle<V>(); |
Handle<V> result = Handle<V>::cast(Handle<Object>(handle)); |
result->VerifyApiCallResultType(); |
return result; |