| Index: third_party/WebKit/Source/core/dom/ModuleScript.h
|
| diff --git a/third_party/WebKit/Source/core/dom/ModuleScript.h b/third_party/WebKit/Source/core/dom/ModuleScript.h
|
| index f33417973291c05e410a8cb418bb2b368a32035e..4e6c2dfa6359913d46c5658ea1f9679ff941f3ff 100644
|
| --- a/third_party/WebKit/Source/core/dom/ModuleScript.h
|
| +++ b/third_party/WebKit/Source/core/dom/ModuleScript.h
|
| @@ -49,6 +49,10 @@ class CORE_EXPORT ModuleScript final : public Script, public TraceWrapperBase {
|
| return instantiation_state_;
|
| }
|
|
|
| + v8::Local<v8::Value> CreateInstantiationError(v8::Isolate* isolate) const {
|
| + return instantiation_error_.NewLocal(isolate);
|
| + }
|
| +
|
| // Implements Step 7.1 of:
|
| // https://html.spec.whatwg.org/multipage/webappapis.html#internal-module-script-graph-fetching-procedure
|
| void SetInstantiationErrorAndClearRecord(ScriptValue error);
|
|
|