| Index: src/api-natives.cc
|
| diff --git a/src/api-natives.cc b/src/api-natives.cc
|
| index 2dd0fed0edd536ea77d989abc0d5e7d734a63dee..7fb88a6e46859a12810af78dbfc4c23775e57d04 100644
|
| --- a/src/api-natives.cc
|
| +++ b/src/api-natives.cc
|
| @@ -202,14 +202,12 @@ MaybeHandle<JSObject> ConfigureInstance(Isolate* isolate, Handle<JSObject> obj,
|
| return obj;
|
| }
|
|
|
| -
|
| MaybeHandle<JSObject> InstantiateObject(Isolate* isolate,
|
| - Handle<ObjectTemplateInfo> data) {
|
| + Handle<ObjectTemplateInfo> info) {
|
| // Enter a new scope. Recursion could otherwise create a lot of handles.
|
| HandleScope scope(isolate);
|
| // Fast path.
|
| Handle<JSObject> result;
|
| - auto info = Handle<ObjectTemplateInfo>::cast(data);
|
| auto constructor = handle(info->constructor(), isolate);
|
| Handle<JSFunction> cons;
|
| if (constructor->IsUndefined()) {
|
|
|