Index: Source/bindings/v8/WorkerScriptController.cpp |
diff --git a/Source/bindings/v8/WorkerScriptController.cpp b/Source/bindings/v8/WorkerScriptController.cpp |
index 29268665f959298a4e89747265b4503fdc89d6f9..9ccf606ad8b967f20abc95413ccac962d0846e75 100644 |
--- a/Source/bindings/v8/WorkerScriptController.cpp |
+++ b/Source/bindings/v8/WorkerScriptController.cpp |
@@ -171,7 +171,7 @@ ScriptValue WorkerScriptController::evaluate(const String& script, const String& |
if (block.HasCaught()) { |
v8::Local<v8::Message> message = block.Message(); |
state->hadException = true; |
- state->errorMessage = toWebCoreString(message->Get()); |
+ state->errorMessage = toCoreString(message->Get()); |
state->lineNumber = message->GetLineNumber(); |
state->columnNumber = message->GetStartColumn() + 1; |
V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<>, sourceURL, message->GetScriptResourceName(), ScriptValue()); |