Chromium Code Reviews| Index: src/runtime.cc |
| =================================================================== |
| --- src/runtime.cc (revision 2317) |
| +++ src/runtime.cc (working copy) |
| @@ -2609,7 +2609,7 @@ |
| if ((entry != Dictionary::kNotFound) && |
| (dictionary->DetailsAt(entry).type() == NORMAL)) { |
| Object* value = dictionary->ValueAt(entry); |
| - if (receiver->IsJSGlobalObject()) { |
| + if (receiver->IsGlobalObject()) { |
| value = JSGlobalPropertyCell::cast(value)->value(); |
| } |
| return value; |