Index: third_party/WebKit/Source/core/workers/ThreadedWorklet.cpp |
diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorklet.cpp b/third_party/WebKit/Source/core/workers/ThreadedWorklet.cpp |
index d60cdedd801dff8182ac3efe1965388fbfe1285b..58497b5077fb6b9824313a8eb5d61a50559c578d 100644 |
--- a/third_party/WebKit/Source/core/workers/ThreadedWorklet.cpp |
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorklet.cpp |
@@ -17,8 +17,8 @@ namespace blink { |
ThreadedWorklet::ThreadedWorklet(LocalFrame* frame) : Worklet(frame) {} |
-ScriptPromise ThreadedWorklet::import(ScriptState* script_state, |
- const String& url) { |
+ScriptPromise ThreadedWorklet::addModule(ScriptState* script_state, |
+ const String& url) { |
DCHECK(IsMainThread()); |
if (!GetExecutionContext()) { |
return ScriptPromise::RejectWithDOMException( |