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

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

Issue 2845533002: Worklet: Move Worklet::Initialize() into ThreadedWorklet for cleanup (Closed)
Patch Set: fix test failures 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/Worklet.h
diff --git a/third_party/WebKit/Source/core/workers/Worklet.h b/third_party/WebKit/Source/core/workers/Worklet.h
index 07122bda3c915bba916cf1c790d422169b002349..9d00d522741a39f7107e42e0c7465a994fd0f210 100644
--- a/third_party/WebKit/Source/core/workers/Worklet.h
+++ b/third_party/WebKit/Source/core/workers/Worklet.h
@@ -30,9 +30,6 @@ class CORE_EXPORT Worklet : public GarbageCollectedFinalized<Worklet>,
public:
virtual ~Worklet() = default;
- virtual void Initialize() {}
- virtual bool IsInitialized() const { return true; }
-
// Worklet.idl
// addModule() imports ES6 module scripts.
virtual ScriptPromise addModule(ScriptState*, const String& url) = 0;

Powered by Google App Engine
This is Rietveld 408576698