Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index 8b087e6783b4f99df886acbe225961bcea4abd8a..072d839052faf01d8a97982fd7c680723509c175 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -320,9 +320,9 @@ static Object* ArrayConstructorCommon(Isolate* isolate, |
if (original_constructor->has_instance_prototype()) { |
Handle<Object> prototype = |
handle(original_constructor->instance_prototype(), isolate); |
- MAYBE_RETURN( |
- JSObject::SetPrototype(array, prototype, false, THROW_ON_ERROR), |
- isolate->heap()->exception()); |
+ MAYBE_RETURN(JSObject::SetPrototype(array, prototype, false, |
+ Object::THROW_ON_ERROR), |
+ isolate->heap()->exception()); |
} |
} |