Index: Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp |
diff --git a/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp b/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp |
index 7c21ed820186064679f248700ec9b00d799e25a7..e3f2bfc260fa10cbf65c97da8f2d257de066927c 100644 |
--- a/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp |
+++ b/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp |
@@ -92,7 +92,7 @@ v8::Local<v8::Value> V8WorkerGlobalScopeEventListener::callListenerFunction(Exec |
v8::Handle<v8::Function> originalFunction = getBoundFunction(handlerFunction); |
v8::ScriptOrigin origin = originalFunction->GetScriptOrigin(); |
if (!origin.ResourceName().IsEmpty()) { |
- TOSTRING_BOOL(V8StringResource<>, stringResourceName, origin.ResourceName(), v8::Local<v8::Value>()); |
+ TOSTRING_DEFAULT(V8StringResource<>, stringResourceName, origin.ResourceName(), v8::Local<v8::Value>()); |
resourceName = stringResourceName; |
lineNumber = originalFunction->GetScriptLineNumber() + 1; |
} |