| 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 6624f60570f11c3ef51329963a50025e81dfed92..a433b6270a980efffebfde55fce658545bb12ced 100644
|
| --- a/third_party/WebKit/Source/core/dom/ModuleScript.h
|
| +++ b/third_party/WebKit/Source/core/dom/ModuleScript.h
|
| @@ -40,7 +40,7 @@ class CORE_EXPORT ModuleScript final : public Script {
|
| }
|
| ~ModuleScript() override = default;
|
|
|
| - ScriptModule& Record() { return record_; }
|
| + const ScriptModule& Record() const { return record_; }
|
| void ClearRecord() { record_ = ScriptModule(); }
|
| const KURL& BaseURL() const { return base_url_; }
|
|
|
| @@ -57,6 +57,10 @@ class CORE_EXPORT ModuleScript final : public Script {
|
| }
|
| const String& Nonce() const { return nonce_; }
|
|
|
| + v8::Local<v8::Value> CreateInstantiationError(v8::Isolate* isolate) const {
|
| + return instantiation_error_.NewLocal(isolate);
|
| + }
|
| +
|
| DECLARE_TRACE();
|
| DECLARE_VIRTUAL_TRACE_WRAPPERS();
|
|
|
|
|