Chromium Code Reviews| Index: test/cctest/test-heap.cc |
| =================================================================== |
| --- test/cctest/test-heap.cc (revision 546) |
| +++ test/cctest/test-heap.cc (working copy) |
| @@ -664,7 +664,7 @@ |
| obj->SetElement(1, second); |
| // Make the clone. |
| - JSObject* clone = JSObject::cast(obj->Copy()); |
| + JSObject* clone = JSObject::cast(Heap::CopyJSObject(obj)); |
| CHECK(clone != obj); |
| CHECK_EQ(obj->GetElement(0), clone->GetElement(0)); |