Chromium Code Reviews| Index: src/runtime.cc |
| diff --git a/src/runtime.cc b/src/runtime.cc |
| index 229e21aa2e8833acd5b9acd66d64f71e99a56698..31d91be18658fa3e4c6691e3af89cb342da67312 100644 |
| --- a/src/runtime.cc |
| +++ b/src/runtime.cc |
| @@ -5337,7 +5337,7 @@ RUNTIME_FUNCTION(Runtime_AddProperty) { |
| #ifdef DEBUG |
| if (key->IsName()) { |
| LookupIterator it(object, Handle<Name>::cast(key), |
| - LookupIterator::CHECK_OWN); |
| + LookupIterator::CHECK_OWN_REAL); |
| JSReceiver::GetPropertyAttributes(&it); |
| RUNTIME_ASSERT(!it.IsFound()); |
| } else { |