Index: Source/modules/websockets/WebSocket.cpp |
diff --git a/Source/modules/websockets/WebSocket.cpp b/Source/modules/websockets/WebSocket.cpp |
index ef518173008f623555f57fd6d2299825aa4a1251..1452cae0b26a0db80fa64eb0c1105f44b6a38bc5 100644 |
--- a/Source/modules/websockets/WebSocket.cpp |
+++ b/Source/modules/websockets/WebSocket.cpp |
@@ -480,7 +480,7 @@ void WebSocket::closeInternal(int code, const String& reason, ExceptionState& ex |
return; |
if (m_state == CONNECTING) { |
m_state = CLOSING; |
- m_channel->fail("WebSocket is closed before the connection is established.", WarningMessageLevel); |
+ m_channel->fail("WebSocket is closed before the connection is established.", WarningMessageLevel, String(), 0); |
return; |
} |
m_state = CLOSING; |