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( |