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 b7205de0231cf231289f8024eae2c1121c1340a5..8d0271575240c219cc654278c5a39bbb4dd3c41f 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() |