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