Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index b97865375d484482c88e76263a6b037f3be1890e..d8da56ced5a4bc7c9f6e9b2f23226f3f5e1bc155 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -2094,7 +2094,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_FunctionSetReadOnlyPrototype) { |
DescriptorArray* instance_desc = function->map()->instance_descriptors(); |
int index = instance_desc->Search(name); |
ASSERT(index != DescriptorArray::kNotFound); |
- PropertyDetails details(instance_desc->GetDetails(index)); |
+ PropertyDetails details = instance_desc->GetDetails(index); |
CallbacksDescriptor new_desc(name, |
instance_desc->GetValue(index), |
static_cast<PropertyAttributes>(details.attributes() | READ_ONLY), |