Index: Source/bindings/v8/ScriptEventListener.cpp |
diff --git a/Source/bindings/v8/ScriptEventListener.cpp b/Source/bindings/v8/ScriptEventListener.cpp |
index 0c5c9b57e38c649733930247e747c3d81ff0b4a5..8329708acc592f9097b986364867feb7f507e7ab 100644 |
--- a/Source/bindings/v8/ScriptEventListener.cpp |
+++ b/Source/bindings/v8/ScriptEventListener.cpp |
@@ -155,7 +155,7 @@ bool eventListenerHandlerLocation(Document* document, EventListener* listener, S |
scriptId = String::number(scriptIdValue); |
v8::ScriptOrigin origin = function->GetScriptOrigin(); |
if (!origin.ResourceName().IsEmpty() && origin.ResourceName()->IsString()) |
- sourceName = toWebCoreString(origin.ResourceName().As<v8::String>()); |
+ sourceName = toCoreString(origin.ResourceName().As<v8::String>()); |
else |
sourceName = ""; |
lineNumber = function->GetScriptLineNumber(); |