Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 1b87564516c30aae876b7e31047ec3fdc29abfe7..20053d966c9b0948420356d2acee570fb9293d3c 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -6150,7 +6150,7 @@ static void CheckLeak(const v8::FunctionCallbackInfo<v8::Value>& args) { |
Isolate* isolate = CcTest::i_isolate(); |
Object* message = |
*reinterpret_cast<Object**>(isolate->pending_message_obj_address()); |
- CHECK(message->IsTheHole()); |
+ CHECK(message->IsTheHole(isolate)); |
} |