| Index: src/runtime/runtime-i18n.cc
|
| diff --git a/src/runtime/runtime-i18n.cc b/src/runtime/runtime-i18n.cc
|
| index e57f8d3626e2b7baeaf6d16bf395b7d952486b01..27f970bdb4b17392cee21a375e7a04a49c4985aa 100644
|
| --- a/src/runtime/runtime-i18n.cc
|
| +++ b/src/runtime/runtime-i18n.cc
|
| @@ -158,8 +158,8 @@ RUNTIME_FUNCTION(Runtime_GetLanguageTagVariants) {
|
| Handle<Name> base = factory->NewStringFromStaticChars("base");
|
| for (unsigned int i = 0; i < length; ++i) {
|
| Handle<Object> locale_id;
|
| - ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, locale_id,
|
| - Object::GetElement(isolate, input, i));
|
| + ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| + isolate, locale_id, JSReceiver::GetElement(isolate, input, i));
|
| if (!locale_id->IsString()) {
|
| return isolate->Throw(*factory->illegal_argument_string());
|
| }
|
|
|