| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 819e9f01f59c7719e4dd7ba48b6e0d33052573bc..7dde2a7084c48edfdad94d7bbcb8046e09ae5a2b 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -806,7 +806,7 @@ Handle<String> Factory::EmergencyNewError(const char* message,
|
| *p++ = ' ';
|
| space--;
|
| if (space > 0) {
|
| - MaybeObject* maybe_arg = args->GetElement(i);
|
| + MaybeObject* maybe_arg = args->GetElement(isolate(), i);
|
| Handle<String> arg_str(reinterpret_cast<String*>(maybe_arg));
|
| const char* arg = *arg_str->ToCString();
|
| Vector<char> v2(p, static_cast<int>(space));
|
| @@ -1321,7 +1321,7 @@ Handle<JSFunction> Factory::NewFunctionWithoutPrototype(
|
|
|
|
|
| Handle<Object> Factory::ToObject(Handle<Object> object) {
|
| - CALL_HEAP_FUNCTION(isolate(), object->ToObject(), Object);
|
| + CALL_HEAP_FUNCTION(isolate(), object->ToObject(isolate()), Object);
|
| }
|
|
|
|
|
|
|