Index: src/api-natives.cc |
diff --git a/src/api-natives.cc b/src/api-natives.cc |
index cda22a6af345d62bb1b31dfd3b0d2cf503302514..5ee4e197f46c7baec42945a87c294d1ac150a2d2 100644 |
--- a/src/api-natives.cc |
+++ b/src/api-natives.cc |
@@ -300,7 +300,7 @@ MaybeHandle<JSFunction> InstantiateFunction(Isolate* isolate, |
isolate->factory()->prototype_string()), |
JSFunction); |
MAYBE_RETURN(JSObject::SetPrototype(prototype, parent_prototype, false, |
- THROW_ON_ERROR), |
+ Object::THROW_ON_ERROR), |
MaybeHandle<JSFunction>()); |
} |
} |