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

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

Issue 2845743003: Move "create a module script" from ModuleScriptLoader to ModuleScript (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ModuleScript.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ModuleMapTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/ModuleMapTest.cpp b/third_party/WebKit/Source/core/dom/ModuleMapTest.cpp
index eb3f00f33ccf37cb9def70f89a5a5fa78d9dec03..b29ebec4593c9b121a1143686188449c84bff7f8 100644
--- a/third_party/WebKit/Source/core/dom/ModuleMapTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ModuleMapTest.cpp
@@ -131,7 +131,7 @@ void ModuleMapTestModulator::FetchNewSingleModule(
void ModuleMapTestModulator::ResolveFetches() {
for (const auto& test_request : test_requests_) {
- ModuleScript* module_script = ModuleScript::Create(
+ ModuleScript* module_script = ModuleScript::CreateForTest(
this, ScriptModule(), test_request->url, test_request->nonce,
kParserInserted, WebURLRequest::kFetchCredentialsModeOmit);
TaskRunner()->PostTask(
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ModuleScript.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698