Index: src/runtime/runtime-scopes.cc |
diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc |
index e28549fcef80049da924b0afe239c6eac65e2e7d..4e512f97be11b73367bf2aa42bfc97ef0452579e 100644 |
--- a/src/runtime/runtime-scopes.cc |
+++ b/src/runtime/runtime-scopes.cc |
@@ -864,7 +864,7 @@ RUNTIME_FUNCTION(Runtime_DeclareModules) { |
} |
} |
- if (JSObject::PreventExtensions(module, THROW_ON_ERROR).IsNothing()) |
+ if (JSObject::PreventExtensions(module, Object::THROW_ON_ERROR).IsNothing()) |
DCHECK(false); |
} |