Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 74c2b758117108adda4598e657ff374608e0e9c5..3426cdbc1d900622a0c7d25106956305b3aa903a 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2759,7 +2759,7 @@ TEST(Regress2211) { |
// In the first iteration, set hidden value first and identity hash second. |
// In the second iteration, reverse the order. |
if (i == 0) obj->SetHiddenValue(v8_str("key string"), value); |
- JSObject::SetIdentityHash(internal_obj, hash); |
+ JSObject::SetIdentityHash(internal_obj, handle(hash, CcTest::i_isolate())); |
if (i == 1) obj->SetHiddenValue(v8_str("key string"), value); |
// Check values. |