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

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

Issue 2826313003: Worklet: Enable module script loading for main thread worklets (Closed)
Patch Set: rebase (ready for review) Created 3 years, 7 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/WorkerOrWorkletGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
index 62698815785163392f69ae8750acf06d941b7f36..50300dd784b90890409ef02eabc053b47b3066aa 100644
--- a/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/WorkerOrWorkletGlobalScope.h
@@ -28,6 +28,7 @@ class CORE_EXPORT WorkerOrWorkletGlobalScope : public ExecutionContext {
const WebTraceLocation&,
std::unique_ptr<ExecutionContextTask>,
const String& task_name_for_instrumentation = g_empty_string) final;
+ bool CanExecuteScripts(ReasonForCallingCanExecuteScripts) final;
virtual ScriptWrappable* GetScriptWrappable() const = 0;

Powered by Google App Engine
This is Rietveld 408576698