Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 371c4d2097378c4cb63a09cbb42cf985611cf40e..14d0c7952d5dd68ec43fc55d6a2ccc8f7828a56e 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -6112,7 +6112,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)); |
} |