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

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

Issue 2823483002: Make ModuleScript to have a reference to Modulator explicitly (Closed)
Patch Set: unit tests fix 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 d18332e09a9642d2de376d78c6b9ae0e439fc4d4..87adbf24eb630a745fd3008a9a46c3568cf4da27 100644
--- a/third_party/WebKit/Source/core/dom/ModuleMapTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ModuleMapTest.cpp
@@ -132,8 +132,8 @@ void ModuleMapTestModulator::FetchNewSingleModule(
void ModuleMapTestModulator::ResolveFetches() {
for (const auto& test_request : test_requests_) {
ModuleScript* module_script = ModuleScript::Create(
- ScriptModule(), test_request->url, test_request->nonce, kParserInserted,
- WebURLRequest::kFetchCredentialsModeOmit);
+ this, ScriptModule(), test_request->url, test_request->nonce,
+ kParserInserted, WebURLRequest::kFetchCredentialsModeOmit);
TaskRunner()->PostTask(
BLINK_FROM_HERE,
WTF::Bind(&ModuleScriptLoaderClient::NotifyNewSingleModuleFinished,
« 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