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 b4c57f56296348092c1f53d10b20da417793b36b..990e4db5baeab77890f1e87cc9e15bc0ac282a84 100644 |
--- a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.h |
+++ b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.h |
@@ -15,6 +15,7 @@ namespace blink { |
class ConsoleMessage; |
class LocalFrame; |
+class ScriptSourceCode; |
class CORE_EXPORT MainThreadWorkletGlobalScope : public WorkletGlobalScope, public WorkletGlobalScopeProxy, public LocalFrameLifecycleObserver { |
public: |
@@ -22,7 +23,7 @@ public: |
bool isMainThreadWorkletGlobalScope() const final { return true; } |
// WorkletGlobalScopeProxy |
- void evaluateScript(const String& source, const KURL& scriptURL) final; |
+ void evaluateScript(const ScriptSourceCode&) final; |
void terminateWorkletGlobalScope() final; |
// WorkerOrWorkletGlobalScope |