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

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

Issue 2842923002: Support Inline module script (Closed)
Patch Set: 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 50a86e9c9488451f5af942c78423faeffbb567a4..e593e3b2d145a3afc89839236b45b9e7b2b79bb3 100644
--- a/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp
+++ b/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp
@@ -84,6 +84,13 @@ void ModulatorImpl::FetchTreeInternal(const ModuleScriptFetchRequest& request,
tree_linker_registry_->Fetch(request, ancestor_list, level, this, client);
}
+void ModulatorImpl::FetchDescendantsForInlineScript(ModuleScript* module_script,
+ ModuleTreeClient* client) {
+ map_->SetInlineModuleScript(module_script);
hiroshige 2017/04/26 04:48:13 SetInlineModuleScript() is currently needed to put
hiroshige 2017/04/27 21:57:20 Fixed.
+ 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