Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index df799bdd63aff01336e6e05d0b174b0424e69ae4..ce48606ddea7732db0b457fe439f2f1047462248 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -811,7 +811,7 @@ TEST(JSObjectCopy) { |
obj->SetElement(1, *second, NONE, kNonStrictMode)->ToObjectChecked(); |
// Make the clone. |
- Handle<JSObject> clone = Copy(obj); |
+ Handle<JSObject> clone = JSObject::Copy(obj); |
CHECK(!clone.is_identical_to(obj)); |
CHECK_EQ(obj->GetElement(0), clone->GetElement(0)); |