Index: src/d8.h |
diff --git a/src/d8.h b/src/d8.h |
index 32a7d25c2f7c4bf1859a900bd14b50027ca05e7c..e831f8eabf69f2db5e7ea4e9e925202867eaf2f5 100644 |
--- a/src/d8.h |
+++ b/src/d8.h |
@@ -5,7 +5,6 @@ |
#ifndef V8_D8_H_ |
#define V8_D8_H_ |
-#include <map> |
#include <string> |
#include "src/allocation.h" |
@@ -455,9 +454,8 @@ class Shell : public i::AllStatic { |
static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate); |
static MaybeLocal<Context> CreateRealm( |
const v8::FunctionCallbackInfo<v8::Value>& args); |
- static MaybeLocal<Module> FetchModuleTree( |
- Isolate* isolate, const std::string& file_name, |
- std::map<std::string, Global<Module>>* module_map); |
+ static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context, |
+ const std::string& file_name); |
}; |