Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 6699dacd121c43c5d86aab37f22d637999860a63..8ba9d939057640c4e645796ac9eabecbf2509d02 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -701,7 +701,7 @@ Handle<JSFunction> Genesis::GetThrowTypeErrorIntrinsic( |
static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE | READ_ONLY)) |
.Assert(); |
- if (JSObject::PreventExtensions(function, THROW_ON_ERROR).IsNothing()) |
+ if (JSObject::PreventExtensions(function, Object::THROW_ON_ERROR).IsNothing()) |
DCHECK(false); |
return function; |