Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: third_party/WebKit/Source/core/dom/ModulatorImpl.cpp

Issue 2842923002: Support Inline module script (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698