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

Unified Diff: third_party/WebKit/Source/core/workers/WorkletGlobalScopeProxy.h

Issue 2839123003: Worklet: Introduce "pending tasks struct" concept defined in the Worklet spec (Closed)
Patch Set: address review comments 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/workers/WorkletGlobalScopeProxy.h
diff --git a/third_party/WebKit/Source/core/workers/WorkletGlobalScopeProxy.h b/third_party/WebKit/Source/core/workers/WorkletGlobalScopeProxy.h
index 8c9c8f502a62b29c2fe2f4d5f9191284b05a75b5..2c2d4d6f80ddd93afe859ee8937df19d41642788 100644
--- a/third_party/WebKit/Source/core/workers/WorkletGlobalScopeProxy.h
+++ b/third_party/WebKit/Source/core/workers/WorkletGlobalScopeProxy.h
@@ -7,11 +7,11 @@
#include "core/CoreExport.h"
#include "platform/weborigin/KURL.h"
-#include "platform/wtf/text/WTFString.h"
namespace blink {
class ScriptSourceCode;
+class WorkletPendingTasks;
// A proxy to talk to the worklet global scope. The global scope may exist in
// the main thread or on a different thread.
@@ -21,8 +21,8 @@ class CORE_EXPORT WorkletGlobalScopeProxy {
// Runs the "fetch and invoke a worklet script" algorithm:
// https://drafts.css-houdini.org/worklets/#fetch-and-invoke-a-worklet-script
- virtual void FetchAndInvokeScript(int32_t request_id,
- const KURL& script_url) {}
+ virtual void FetchAndInvokeScript(const KURL& module_url_record,
+ WorkletPendingTasks*) {}
// Evaluates the given script source code. This should be called only for
// threaded worklets that still use classic script loading.
« no previous file with comments | « third_party/WebKit/Source/core/workers/Worklet.h ('k') | third_party/WebKit/Source/core/workers/WorkletObjectProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698