| Index: third_party/WebKit/Source/core/loader/modulescript/ModuleTreeLinkerRegistry.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/modulescript/ModuleTreeLinkerRegistry.cpp b/third_party/WebKit/Source/core/loader/modulescript/ModuleTreeLinkerRegistry.cpp
|
| index e07dd3ed529428b054c2bd10f3bbc454c9f1f1de..0a2b6f3453018c1e33159a64045c68dcde34d3e5 100644
|
| --- a/third_party/WebKit/Source/core/loader/modulescript/ModuleTreeLinkerRegistry.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/modulescript/ModuleTreeLinkerRegistry.cpp
|
| @@ -27,6 +27,17 @@ ModuleTreeLinker* ModuleTreeLinkerRegistry::Fetch(
|
| return fetcher;
|
| }
|
|
|
| +ModuleTreeLinker* ModuleTreeLinkerRegistry::FetchDescendantsForInlineScript(
|
| + ModuleScript* module_script,
|
| + Modulator* modulator,
|
| + ModuleTreeClient* client) {
|
| + ModuleTreeLinker* fetcher = ModuleTreeLinker::FetchDescendantsForInlineScript(
|
| + module_script, modulator, this, client);
|
| + DCHECK(fetcher->IsFetching());
|
| + active_tree_linkers_.insert(fetcher);
|
| + return fetcher;
|
| +}
|
| +
|
| void ModuleTreeLinkerRegistry::ReleaseFinishedFetcher(
|
| ModuleTreeLinker* fetcher) {
|
| DCHECK(fetcher->HasFinished());
|
|
|