Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index cee362588050ce732da537a0bc6a0a60fb84fcf4..6f8706786d0e84c381aac9773155fef3ed0fe236 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2013,7 +2013,7 @@ Handle<JSProxy> Factory::NewJSProxy(Handle<JSReceiver> target, |
} else { |
map = Handle<Map>(isolate()->proxy_map()); |
} |
- DCHECK(map->prototype()->IsNull()); |
+ DCHECK(map->prototype()->IsNull(isolate())); |
Handle<JSProxy> result = New<JSProxy>(map, NEW_SPACE); |
result->initialize_properties(); |
result->set_target(*target); |