Index: src/runtime/runtime-classes.cc |
diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc |
index 00ce27325a15a41158b9bae2d367506da75814e1..4583285293f9c55041d45bb9743fc584c57fa444 100644 |
--- a/src/runtime/runtime-classes.cc |
+++ b/src/runtime/runtime-classes.cc |
@@ -163,7 +163,7 @@ static MaybeHandle<Object> DefineClass(Isolate* isolate, Handle<Object> name, |
if (!constructor_parent.is_null()) { |
MAYBE_RETURN_NULL(JSObject::SetPrototype(constructor, constructor_parent, |
- false, THROW_ON_ERROR)); |
+ false, Object::THROW_ON_ERROR)); |
} |
JSObject::AddProperty(prototype, isolate->factory()->constructor_string(), |