| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 24e0c9e34af9d9f86e30e34ef2d5a2f301977bc5..4f16120df33ddbb4d096c4a3a33820b911986833 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -4400,7 +4400,7 @@
|
| i::Handle<i::String> property_name =
|
| isolate->factory()->NewStringFromStaticChars("displayName");
|
| i::Handle<i::Object> value =
|
| - i::JSReceiver::GetDataProperty(func, property_name);
|
| + i::JSObject::GetDataProperty(func, property_name);
|
| if (value->IsString()) {
|
| i::Handle<i::String> name = i::Handle<i::String>::cast(value);
|
| if (name->length() > 0) return Utils::ToLocal(name);
|
| @@ -6239,7 +6239,7 @@
|
| LOG_API(isolate, "Promise::HasRejectHandler");
|
| ENTER_V8(isolate);
|
| i::Handle<i::Symbol> key = isolate->factory()->promise_has_handler_symbol();
|
| - return i::JSReceiver::GetDataProperty(promise, key)->IsTrue();
|
| + return i::JSObject::GetDataProperty(promise, key)->IsTrue();
|
| }
|
|
|
|
|
|
|