Index: third_party/WebKit/Source/core/workers/MainThreadWorklet.h |
diff --git a/third_party/WebKit/Source/core/workers/MainThreadWorklet.h b/third_party/WebKit/Source/core/workers/MainThreadWorklet.h |
index 858d1e9a7c3b71b08f5770ed1c5bf72e124a3887..67e8186a3230f697e6681151b3248a17cad4c84c 100644 |
--- a/third_party/WebKit/Source/core/workers/MainThreadWorklet.h |
+++ b/third_party/WebKit/Source/core/workers/MainThreadWorklet.h |
@@ -29,7 +29,7 @@ class CORE_EXPORT MainThreadWorklet : public Worklet, |
virtual ~MainThreadWorklet() = default; |
// Worklet |
- ScriptPromise import(ScriptState*, const String& url) final; |
+ ScriptPromise addModule(ScriptState*, const String& url) final; |
// WorkletScriptLoader::Client |
void NotifyWorkletScriptLoadingFinished(WorkletScriptLoader*, |