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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScopeProxy.cpp

Issue 2939773005: [POC] Implement "module responses map" concept (Closed)
Patch Set: rebase Created 3 years, 5 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/modules/csspaint/PaintWorkletGlobalScopeProxy.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScopeProxy.cpp b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScopeProxy.cpp
index cb946dace8fd69408b331da02533be0acb24ee19..0d0ef49c401f9a8c29f0f2185333b2eefbb4f579 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScopeProxy.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScopeProxy.cpp
@@ -31,13 +31,14 @@ PaintWorkletGlobalScopeProxy::PaintWorkletGlobalScopeProxy(
void PaintWorkletGlobalScopeProxy::FetchAndInvokeScript(
const KURL& module_url_record,
+ WorkletModuleResponsesMap* module_responses_map,
WebURLRequest::FetchCredentialsMode credentials_mode,
RefPtr<WebTaskRunner> outside_settings_task_runner,
WorkletPendingTasks* pending_tasks) {
DCHECK(IsMainThread());
- global_scope_->FetchAndInvokeScript(module_url_record, credentials_mode,
- std::move(outside_settings_task_runner),
- pending_tasks);
+ global_scope_->FetchAndInvokeScript(
+ module_url_record, module_responses_map, credentials_mode,
+ std::move(outside_settings_task_runner), pending_tasks);
}
void PaintWorkletGlobalScopeProxy::WorkletObjectDestroyed() {

Powered by Google App Engine
This is Rietveld 408576698