Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 1f6dedc022f45e6a8a7d59da729f309d9a159e45..aad0add027b9201098ffe50de6de11800fb4f987 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1592,7 +1592,7 @@ Handle<GlobalObject> Factory::NewGlobalObject(Handle<JSFunction> constructor) { |
for (int i = 0; i < map->NumberOfOwnDescriptors(); i++) { |
PropertyDetails details = descs->GetDetails(i); |
DCHECK(details.type() == CALLBACKS); // Only accessors are expected. |
- PropertyDetails d = PropertyDetails(details.attributes(), CALLBACKS, i + 1); |
+ PropertyDetails d(details.attributes(), CALLBACKS, i + 1); |
Handle<Name> name(descs->GetKey(i)); |
Handle<Object> value(descs->GetCallbacksObject(i), isolate()); |
Handle<PropertyCell> cell = NewPropertyCell(value); |