Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp b/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| index e5fb1fae307ede3751cffe7f20d2cd204a5768b1..af28d802541cd2c23c69bfb66368d2ddadde6b74 100644 |
| --- a/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| +++ b/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| @@ -84,6 +84,15 @@ void ModulatorImpl::FetchTreeInternal(const ModuleScriptFetchRequest& request, |
| tree_linker_registry_->Fetch(request, ancestor_list, level, this, client); |
| } |
| +void ModulatorImpl::FetchDescendantsForInlineScript(ModuleScript* module_script, |
| + ModuleTreeClient* client) { |
|
kouhei (in TOK)
2017/04/27 03:47:25
We need to call resolver->RegisterModuleScript() s
hiroshige
2017/04/27 21:57:20
Done in https://codereview.chromium.org/2845743003
|
| + // FOXME: Remove this line and revert the changes in ModuleMap before commit. |
| + // map_->SetInlineModuleScript(module_script); |
| + |
| + tree_linker_registry_->FetchDescendantsForInlineScript(module_script, this, |
| + client); |
| +} |
| + |
| void ModulatorImpl::FetchSingle(const ModuleScriptFetchRequest& request, |
| ModuleGraphLevel level, |
| SingleModuleClient* client) { |