Index: third_party/WebKit/Source/bindings/core/v8/ScriptModule.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.h b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.h |
index 43a73d512909eafb00ce23a834657dcc0de39fdb..ce0e96b9ccc3758dfa0d1d156a7390d1a62c56ca 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.h |
@@ -16,6 +16,8 @@ |
namespace blink { |
+class ModuleScript; |
+ |
// ScriptModule wraps a handle to a v8::Module for use in core. |
// |
// Using ScriptModules needs a ScriptState and its scope to operate in. You |
@@ -40,7 +42,7 @@ class CORE_EXPORT ScriptModule final { |
// Returns exception, if any. |
ScriptValue Instantiate(ScriptState*); |
- void Evaluate(ScriptState*); |
+ static void Evaluate(ScriptState*, const ModuleScript*); |
Vector<String> ModuleRequests(ScriptState*); |