Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 6b609757a9f3753782a265bc206983d5c92df05b..1ed43ac338aa78b294b52412e33e9131bc0855b1 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -634,7 +634,7 @@ |
CHECK(context->global_proxy() == *global_proxy); |
Handle<String> o = isolate->factory()->NewStringFromAsciiChecked("o"); |
Handle<JSObject> global_object(context->global_object(), isolate); |
- Handle<Object> property = JSReceiver::GetDataProperty(global_object, o); |
+ Handle<Object> property = JSObject::GetDataProperty(global_object, o); |
CHECK(property.is_identical_to(global_proxy)); |
v8::Handle<v8::Context> v8_context = v8::Utils::ToLocal(context); |
@@ -1009,11 +1009,11 @@ |
Execution::Call(isolate, copy_fun, global, 0, NULL).ToHandleChecked(); |
CHECK_EQ(6 * 1999999, Handle<String>::cast(copy_result)->length()); |
- Handle<Object> property = JSReceiver::GetDataProperty( |
+ Handle<Object> property = JSObject::GetDataProperty( |
isolate->global_object(), f->NewStringFromAsciiChecked("s")); |
CHECK(isolate->heap()->InSpace(HeapObject::cast(*property), LO_SPACE)); |
- property = JSReceiver::GetDataProperty(isolate->global_object(), |
- f->NewStringFromAsciiChecked("t")); |
+ property = JSObject::GetDataProperty(isolate->global_object(), |
+ f->NewStringFromAsciiChecked("t")); |
CHECK(isolate->heap()->InSpace(HeapObject::cast(*property), LO_SPACE)); |
// Make sure we do not serialize too much, e.g. include the source string. |
CHECK_LT(cache->length(), 13000000); |