Index: third_party/WebKit/Source/core/workers/Worklet.h |
diff --git a/third_party/WebKit/Source/core/workers/Worklet.h b/third_party/WebKit/Source/core/workers/Worklet.h |
index f482229f2e93cd6f16668eaece83181980d592a2..07122bda3c915bba916cf1c790d422169b002349 100644 |
--- a/third_party/WebKit/Source/core/workers/Worklet.h |
+++ b/third_party/WebKit/Source/core/workers/Worklet.h |
@@ -34,8 +34,8 @@ class CORE_EXPORT Worklet : public GarbageCollectedFinalized<Worklet>, |
virtual bool IsInitialized() const { return true; } |
// Worklet.idl |
- // import() imports ES6 module scripts. |
- virtual ScriptPromise import(ScriptState*, const String& url) = 0; |
+ // addModule() imports ES6 module scripts. |
+ virtual ScriptPromise addModule(ScriptState*, const String& url) = 0; |
// Returns a proxy to WorkletGlobalScope on the context thread. |
virtual WorkletGlobalScopeProxy* GetWorkletGlobalScopeProxy() const = 0; |