Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index b38895144bad9ee20c3f27dcd32f13a4ef61d47c..80a6bd97d5b3ba80f1d56cba1556654f12747797 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -6004,7 +6004,7 @@ TEST(PreprocessStackTrace) { |
Handle<Object> exception = v8::Utils::OpenHandle(*try_catch.Exception()); |
Handle<Name> key = isolate->factory()->stack_trace_symbol(); |
Handle<Object> stack_trace = |
- JSObject::GetProperty(exception, key).ToHandleChecked(); |
+ Object::GetProperty(exception, key).ToHandleChecked(); |
Handle<Object> code = |
Object::GetElement(isolate, stack_trace, 3).ToHandleChecked(); |
CHECK(code->IsCode()); |