Index: third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
index 1d605348e21831c265ecd30b9191f553acefb3be..707e849c7b2dff29df18406e0fda42ca1d9531d4 100644 |
--- a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
@@ -21,9 +21,9 @@ MainThreadWorkletGlobalScope::~MainThreadWorkletGlobalScope() |
{ |
} |
-void MainThreadWorkletGlobalScope::evaluateScript(const String& source, const KURL& scriptURL) |
+void MainThreadWorkletGlobalScope::evaluateScript(const ScriptSourceCode& scriptSourceCode) |
{ |
- scriptController()->evaluate(ScriptSourceCode(source, scriptURL)); |
+ scriptController()->evaluate(scriptSourceCode); |
} |
void MainThreadWorkletGlobalScope::terminateWorkletGlobalScope() |