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

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

Issue 2116113002: [worklets] Make WorkerThread handle both Worker and Worklet global scopes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 5 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/MainThreadWorkletGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.h b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.h
index eb966b5434906f9d2c2812f2f23b2ad859ddd752..7817de411ce5a9fe4971f8190114dc013161c6ce 100644
--- a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.h
@@ -25,6 +25,9 @@ public:
void evaluateScript(const String& source, const KURL& scriptURL) final;
void terminateWorkletGlobalScope() final;
+ // WorkerOrWorkletGlobalScope
+ bool isClosing() const final { return false; }
+
using LocalFrameLifecycleObserver::frame;
void addConsoleMessage(ConsoleMessage*) final;
void exceptionThrown(const String& errorMessage, std::unique_ptr<SourceLocation>) final;

Powered by Google App Engine
This is Rietveld 408576698