| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 56055be0317f9d6cbcdd8709018fc78dee28d55f..fcfe437e77efe00a54dc0c07308aa4d631fb02d6 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -3849,7 +3849,7 @@ Local<Object> v8::Object::FindInstanceInPrototypeChain(
|
| v8::Local<FunctionTemplate> tmpl) {
|
| auto isolate = Utils::OpenHandle(this)->GetIsolate();
|
| i::PrototypeIterator iter(isolate, *Utils::OpenHandle(this),
|
| - i::PrototypeIterator::START_AT_RECEIVER);
|
| + i::kStartAtReceiver);
|
| auto tmpl_info = *Utils::OpenHandle(*tmpl);
|
| while (!tmpl_info->IsTemplateFor(iter.GetCurrent())) {
|
| iter.Advance();
|
|
|