| Index: test/cctest/test-serialize.cc
|
| diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc
|
| index 72eb194bae313adaaa8dc4a53f586fcbe22ea435..7ec5e053b7aab50663d08ab68b04b818a6aa8ef1 100644
|
| --- a/test/cctest/test-serialize.cc
|
| +++ b/test/cctest/test-serialize.cc
|
| @@ -634,7 +634,7 @@ UNINITIALIZED_DEPENDENT_TEST(CustomContextDeserialization,
|
| CHECK(context->global_proxy() == *global_proxy);
|
| Handle<String> o = isolate->factory()->NewStringFromAsciiChecked("o");
|
| Handle<JSObject> global_object(context->global_object(), isolate);
|
| - Handle<Object> property = JSObject::GetDataProperty(global_object, o);
|
| + Handle<Object> property = JSReceiver::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 @@ TEST(SerializeToplevelLargeStrings) {
|
| Execution::Call(isolate, copy_fun, global, 0, NULL).ToHandleChecked();
|
|
|
| CHECK_EQ(6 * 1999999, Handle<String>::cast(copy_result)->length());
|
| - Handle<Object> property = JSObject::GetDataProperty(
|
| + Handle<Object> property = JSReceiver::GetDataProperty(
|
| isolate->global_object(), f->NewStringFromAsciiChecked("s"));
|
| CHECK(isolate->heap()->InSpace(HeapObject::cast(*property), LO_SPACE));
|
| - property = JSObject::GetDataProperty(isolate->global_object(),
|
| - f->NewStringFromAsciiChecked("t"));
|
| + property = JSReceiver::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);
|
|
|