| Index: third_party/WebKit/Source/core/dom/ModuleScript.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/ModuleScript.cpp b/third_party/WebKit/Source/core/dom/ModuleScript.cpp
|
| index 3709f7e9f27326889da3032aa28ec7fab72e8488..1af90230c76e58cdaad29fdb791ae100b821a452 100644
|
| --- a/third_party/WebKit/Source/core/dom/ModuleScript.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ModuleScript.cpp
|
| @@ -18,7 +18,8 @@ ModuleScript* ModuleScript::Create(
|
| const String& nonce,
|
| ParserDisposition parser_state,
|
| WebURLRequest::FetchCredentialsMode credentials_mode,
|
| - AccessControlStatus access_control_status) {
|
| + AccessControlStatus access_control_status,
|
| + const TextPosition& start_position) {
|
| // https://html.spec.whatwg.org/#creating-a-module-script
|
| // Step 1. Let script be a new module script that this algorithm will
|
| // subsequently initialize.
|
| @@ -28,7 +29,7 @@ ModuleScript* ModuleScript::Create(
|
|
|
| // Delegate to Modulator::compileModule to process Steps 3-6.
|
| ScriptModule result = modulator->CompileModule(
|
| - source_text, base_url.GetString(), access_control_status);
|
| + source_text, base_url.GetString(), access_control_status, start_position);
|
| // Step 6: "...return null, and abort these steps."
|
| if (result.IsNull())
|
| return nullptr;
|
|
|