Index: Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp |
index e7e302d8187271df8ca5752750af342b6bd42587..b02148921ac5f1c6dad6f569ec61cf866431b96b 100644 |
--- a/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/Source/core/workers/WorkerGlobalScope.cpp |
@@ -251,7 +251,7 @@ void WorkerGlobalScope::addMessage(MessageSource source, MessageLevel level, con |
return; |
} |
thread()->workerReportingProxy().reportConsoleMessage(source, level, message, lineNumber, sourceURL); |
- addMessageToWorkerConsole(source, level, message, sourceURL, lineNumber, 0, state); |
+ addMessageToWorkerConsole(source, level, message, sourceURL, lineNumber, nullptr, state); |
} |
void WorkerGlobalScope::addMessageToWorkerConsole(MessageSource source, MessageLevel level, const String& message, const String& sourceURL, unsigned lineNumber, PassRefPtr<ScriptCallStack> callStack, ScriptState* state) |