Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: src/d8.h

Issue 2405313002: [modules] Store Module metadata in per-Context EmbedderData (Closed)
Patch Set: Formatting Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/d8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « src/api.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698