Index: Source/bindings/v8/WorkerScriptController.cpp |
diff --git a/Source/bindings/v8/WorkerScriptController.cpp b/Source/bindings/v8/WorkerScriptController.cpp |
index cb027bfee6b5d3889382c5e9c433856b2f4d5c4b..8cf2eb2743f2cf19c46dd118267a9a777ac7d5da 100644 |
--- a/Source/bindings/v8/WorkerScriptController.cpp |
+++ b/Source/bindings/v8/WorkerScriptController.cpp |
@@ -184,7 +184,7 @@ ScriptValue WorkerScriptController::evaluate(const String& script, const String& |
state->errorMessage = toCoreString(message->Get()); |
state->lineNumber = message->GetLineNumber(); |
state->columnNumber = message->GetStartColumn() + 1; |
- TOSTRING_DEFAULT(V8StringResource<>, sourceURL, message->GetScriptResourceName(), ScriptValue()); |
+ TOSTRING_DEFAULT(V8StringResource<>, sourceURL, message->GetScriptOrigin().ResourceName(), ScriptValue()); |
state->sourceURL = sourceURL; |
state->exception = ScriptValue(m_scriptState.get(), block.Exception()); |
block.Reset(); |