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

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

Issue 2826983002: Rename Worklet.import() to Worklet.addModule(). (Closed)
Patch Set: Fixing Layout Tests 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/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*,

Powered by Google App Engine
This is Rietveld 408576698