summaryrefslogtreecommitdiff
path: root/deps/v8/src/bootstrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/bootstrapper.h')
-rw-r--r--deps/v8/src/bootstrapper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/src/bootstrapper.h b/deps/v8/src/bootstrapper.h
index f6fcd02ef..1899d6a1e 100644
--- a/deps/v8/src/bootstrapper.h
+++ b/deps/v8/src/bootstrapper.h
@@ -5,7 +5,7 @@
#ifndef V8_BOOTSTRAPPER_H_
#define V8_BOOTSTRAPPER_H_
-#include "factory.h"
+#include "src/factory.h"
namespace v8 {
namespace internal {
@@ -49,7 +49,7 @@ class SourceCodeCache V8_FINAL BASE_EMBEDDED {
cache_ = *new_array;
Handle<String> str =
factory->NewStringFromAscii(name, TENURED).ToHandleChecked();
- ASSERT(!str.is_null());
+ DCHECK(!str.is_null());
cache_->set(length, *str);
cache_->set(length + 1, *shared);
Script::cast(shared->script())->set_type(Smi::FromInt(type_));
@@ -76,8 +76,8 @@ class Bootstrapper V8_FINAL {
// Creates a JavaScript Global Context with initial object graph.
// The returned value is a global handle casted to V8Environment*.
Handle<Context> CreateEnvironment(
- Handle<Object> global_object,
- v8::Handle<v8::ObjectTemplate> global_template,
+ MaybeHandle<JSGlobalProxy> maybe_global_proxy,
+ v8::Handle<v8::ObjectTemplate> global_object_template,
v8::ExtensionConfiguration* extensions);
// Detach the environment from its outer global object.