Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index 114e8d940dff3f1aa8f75b6a2c12d6cbf57a11e8..d669943db93f727b62d4304b17357cc9df53a36c 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -8970,6 +8970,8 @@ MaybeHandle<Object> JSObject::DefineAccessor(LookupIterator* it, |
| PropertyAttributes attributes) { |
| Isolate* isolate = it->isolate(); |
| + it->UpdateProtector(); |
| + |
| if (it->state() == LookupIterator::ACCESS_CHECK) { |
| if (!it->HasAccess()) { |
| isolate->ReportFailedAccessCheck(it->GetHolder<JSObject>()); |